avram VS granite-orm

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

avram

A Crystal database wrapper for reading, writing, and migrating Postgres databases. (by luckyframework)

granite-orm

ORM Model with Adapters for mysql, pg, sqlite in the Crystal Language. (by amberframework)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern identity platform for B2B SaaS
avram granite-orm
0 4
159 292
-0.6% 0.0%
7.4 7.1
4 days ago about 1 month 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.

avram

Posts with mentions or reviews of avram. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning avram 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 avram 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

active_record.cr - Active Record pattern implementation for Crystal.

clear - Advanced ORM between postgreSQL and Crystal

stal-crystal - Set algebra solver for Redis

kemalyst-model

ohm-crystal - Ohm for Crystal

topaz - A simple and useful db wrapper for Crystal-lang

record