Query builder for Crystal Language https://crystal-lang.org
Switch branches/tags
Nothing to show
Clone or download
Hadi Hidayat Hammurabi
Latest commit 9e1b9a1 Dec 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec Initial Dec 6, 2018
src Remove testing script Dec 6, 2018
.editorconfig Initial Dec 6, 2018
.gitignore Update gitignore Dec 6, 2018
.travis.yml Initial Dec 6, 2018
LICENSE Initial Dec 6, 2018
README.md Update README.md Dec 6, 2018
shard.yml Initial Dec 6, 2018

README.md

qrystal

This is a query (SQL) builder for Crystal Language

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  qrystal:
    github: hadihammurabi/qrystal
  1. 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

  1. Fork it (https://github.com/hadihammurabi/qrystal/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors