CRystal Object Mapper
See the backends for usage.
*/!\ Work in progress, not ready for production use /!*
- Add critera to fetch data
- Add more backends ( MongoDB, Postgres, ... )
Add this to your application's shard.yml
:
dependencies:
crom:
github: TechMagister/crom.cr
Backend Feature | MySQL | Redis |
---|---|---|
Insert | x | x |
Delete | x | x |
Update | x | x |
Aggregation | x | x |
Get by id | x | x |
Get all | x | x |
Delete all | x | x |
Count | x | x |
- MySQL backend, support aggregation, insert,update, delete, get by id
- Redis backend, use JSON to store the data
- Fork it ( https://github.com/TechMagister/crom.cr/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
- TechMagister Arnaud Fernandés - creator, maintainer