crystal-sql-querymaker
SQL-QueryMaker
Helper functions for SQL query generation like Perl's SQL::QueryMaker
Installation
Add this to your application's shard.yml:
dependencies:
sql-maker:
github: pine/crystal-sql-maker
branch: master
Usage
require "sql-maker"
include SQL::Maker::Helper
q = sql_eq("foo", 10)
p q.as_sql #=> "`foo` = ?"
p q.bind #=> [10]
Contributing
- Fork it ( https://github.com/pine/crystal-sql-maker/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
- pine Pine Mizune - creator, maintainer
Repository
crystal-sql-querymaker
Owner
Statistic
- 1
- 0
- 0
- 0
- 1
- over 8 years ago
- May 30, 2016
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 02:48:59 GMT
Languages