active_record.cr VS granite-orm

Compare active_record.cr vs granite-orm and see what are their differences.

active_record.cr

Active Record pattern implementation for Crystal. (by waterlink)

granite-orm

ORM Model with Adapters for mysql, pg, sqlite in the Crystal Language. (by amberframework)
Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
active_record.cr granite-orm
0 4
193 263
- 0.0%
0.0 2.8
over 5 years ago 6 days 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.

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.

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
    3 projects | dev.to | 16 Dec 2020
    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
    4 projects | dev.to | 11 Oct 2020
    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:
    4 projects | dev.to | 11 Oct 2020
    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.

What are some alternatives?

When comparing active_record.cr and granite-orm 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

selenite-db - Persistence Layer for your Crystal Application

kemalyst-model

ohm-crystal - Ohm for Crystal

rethinkdb-orm - RethinkDB ORM for Crystal lang