qrystal
This is a query (SQL) builder for Crystal Language
Installation
- Add the dependency to your
shard.yml
:
dependencies:
qrystal:
github: hadihammurabi/qrystal
- Run
shards install
Usage
require "qrystal"
# create object of Qrystal class
query = Qrystal.new
# call select() method
# with table name as parameter
# e. g. users
alluser = query.select("users")
# get as string
alluser = alluser.string
TODO Write usage instructions here
Development
TODO Write development instructions here
Contributing
- Fork it (https://github.com/hadihammurabi/qrystal/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
- Hadi Hidayat Hammurabi - creator and maintainer