granite-orm
ORM Model with Adapters for mysql, pg, sqlite in the Crystal Language. (by amberframework)
jennifer
Crystal ORM using ActiveRecord pattern with flexible query DSL (by imdrasil)
Our great sponsors
granite-orm | jennifer | |
---|---|---|
4 | 2 | |
265 | 388 | |
0.8% | - | |
2.7 | 6.8 | |
11 days ago | 2 months 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.
jennifer
Posts with mentions or reviews of jennifer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-26.
-
Have you checked out Crystal?
For a more concrete example, I don't think you can have ActiveRecord-like classes which have their fields defined by fetching actual database schema (without defining the schema upfront, like Jennifer does).
-
Frustrations with Crystal ORMs
Jennifer
What are some alternatives?
When comparing granite-orm and jennifer you can also consider the following projects:
crecto - Database wrapper and ORM for Crystal, inspired by Ecto
avram - A Crystal database wrapper for reading, writing, and migrating Postgres databases.
active_record.cr - Active Record pattern implementation for Crystal.
clear - Advanced ORM between postgreSQL and Crystal
stal-crystal - Set algebra solver for Redis
ohm-crystal - Ohm for Crystal
kemalyst-model
core - A delightful SQL ORM ☺️