31
GitHub - mcandre/prql: prql ("Prequel"): a command line SQL syntax che...
source link: https://github.com/mcandre/prql
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBranch: master Go to file
CodeREADME.md
prql ("Prequel"): a command line MySQL syntax checker
EXAMPLE
$ prql examples examples/apples.sql:2: syntax error at byte position 17 near 'SEL'
See prql -help
for more options.
DOWNLOAD
https://github.com/mcandre/prql/releases
API DOCUMENTATION
https://godoc.org/github.com/mcandre/prql
MAJOR FEATURES
- Validates MySQL statements.
- Scans multi-statement scripts.
- Recurses along large folder trees.
- No dependency on live MySQL servers or clients.
- Ops-friendly exit code for CI, script chaining.
COMPLEX SCRIPT MATCHING
$ find examples -type f -name '*.sql' -print0 | while IFS= read -r -d '' f; do prql "$f" || exit 1 done examples/apples.sql:2: syntax error at byte position 17 near 'SEL'
RUNTIME REQUIREMENTS
CONTRIBUTING
See DEVELOPMENT.md.
LICENSE
FreeBSD
CREDITS
- xwb1989/sqlparser does the heavy lifting.
Languages
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK