Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hadihammurabi/qrystal
Query builder for Crystal Language https://crystal-lang.org
https://github.com/hadihammurabi/qrystal
Last synced: 7 days ago
JSON representation
Query builder for Crystal Language https://crystal-lang.org
- Host: GitHub
- URL: https://github.com/hadihammurabi/qrystal
- Owner: hadihammurabi
- License: mit
- Created: 2018-12-06T17:01:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T17:52:05.000Z (about 6 years ago)
- Last Synced: 2024-11-07T08:39:03.394Z (about 2 months ago)
- Language: Crystal
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qrystal
This is a query (SQL) builder for [Crystal Language](https://crystal-lang.org)
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
qrystal:
github: hadihammurabi/qrystal
```
2. Run `shards install`## Usage
```crystal
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 ()
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
- [Hadi Hidayat Hammurabi](https://github.com/hadihammurabi) - creator and maintainer