granite-orm
ORM Model with Adapters for mysql, pg, sqlite in the Crystal Language. (by amberframework)
active_record.cr
Active Record pattern implementation for Crystal. (by waterlink)
Our great sponsors
granite-orm | active_record.cr | |
---|---|---|
4 | 0 | |
267 | 193 | |
0.7% | - | |
2.1 | 0.0 | |
2 months ago | about 6 years ago | |
Crystal | Crystal | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
granite-orm
Posts with mentions or reviews of granite-orm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-16.
-
It seems like Rust software is bad
The 3 Crystal ORMs I've checked out, Granite, Clear, and Jennifer, are all 10k lines or less. Given Crystal's pragmatism-before-purity philosophy compared to Rust, I'd expect them to be a little briefer, but not that much.
-
Frustrations with Crystal ORMs
But now that Didact is released and I'm trying to refactor my own website's code to use it, I'm realizing even more inadequacies in the ORM library I'm currently using than I thought. Here are the inadequacies of Granite:
The "generate create table SQL from model definition" feature is not usable for my use case because it doesn't treat foreign keys at all, only basic fields and types. It actually doesn't even support NOT NULL columns right now except for the primary key, and my PR to fix that has been hanging for two weeks.
active_record.cr
Posts with mentions or reviews of active_record.cr.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning active_record.cr yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing granite-orm and active_record.cr you can also consider the following projects:
jennifer - Crystal ORM using ActiveRecord pattern with flexible query DSL
crecto - Database wrapper and ORM for Crystal, inspired by Ecto
avram - A Crystal database wrapper for reading, writing, and migrating Postgres databases.
clear - Advanced ORM between postgreSQL and Crystal
topaz - A simple and useful db wrapper for Crystal-lang
stal-crystal - Set algebra solver for Redis
kemalyst-model
ohm-crystal - Ohm for Crystal
rethinkdb-orm - RethinkDB ORM for Crystal lang
record