parsegres
Parsegres
Parsegres provides a Postgres-compatible SQL parser.
Installation
-
Add the dependency to your
shard.yml:dependencies: parsegres: github: jgaskins/parsegres -
Run
shards install
Usage
The main use case is to parse a SQL query using the Parsegres.parse method:
require "parsegres"
query = Parsegres.parse(<<-SQL)
SELECT *
FROM users
WHERE status = $1
AND group_id = $2
LIMIT 25
SQL
Contributing
- Fork it (https://github.com/jgaskins/parsegres/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Jamie Gaskins - creator and maintainer
Repository
parsegres
Owner
Statistic
- 1
- 1
- 0
- 0
- 0
- 3 days ago
- February 23, 2026
License
MIT License
Links
Synced at
Sun, 26 Jul 2026 07:26:05 GMT
Languages