Elixir ORM and Datamapping

Open-source Elixir projects categorized as ORM and Datamapping | Edit details

Top 23 Elixir ORM and Datamapping Projects

  • GitHub repo ecto

    A toolkit for data mapping and language integrated query.

    Project mention: Dynamic Queries in Ecto (Elixir Lang) | news.ycombinator.com | 2021-09-15

    I've used my share of data access libraries and patterns (e.g. hibernate, activerecord, ecto, ...). The only time I've been happy is when I use raw SQL for non-dynamic SQL and a lightweight query builder for everything else.

    I feel like I always run into some thing that at best isn't intuitive to express/read and at worse, cannot be expressed. If I remember correctly, when I was learning Elixir/Ecto, https://github.com/elixir-ecto/ecto/issues/1616 issue and the lack of lateral join support caused me issues.

    Want to create a user?

    "insert into users (id, name, status) values ($1, $2, $3)"

    Our query builder takes pretty raw SQL fragments:

        q = Query.new()

  • GitHub repo redix

    Fast, pipelined, resilient Redis driver for Elixir. 🛍

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo postgrex

    PostgreSQL driver for Elixir

  • GitHub repo eventstore

    Event store using PostgreSQL for persistence (by commanded)

  • GitHub repo amnesia

    Mnesia wrapper for Elixir.

  • GitHub repo memento

    Simple + Powerful interface to the Mnesia Distributed Database 💾

  • GitHub repo ecto_enum

    Ecto extension to support enums in models

    Project mention: Use the new Enum type in Ecto 3.5 | dev.to | 2021-01-05

    Postgres and MySQL have the ability to create enum types that can be used for columns and will validate them at the data layer rather than the application layer. This means that your data store would be protected from bad values. For a long time, the EctoEnum library has been the best way to set up custom enum types for Postgres:

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo moebius

    A functional query tool for Elixir

    Project mention: Dynamic Queries in Ecto (Elixir Lang) | news.ycombinator.com | 2021-09-15

    I enjoy everything about Elixir/Phoenix except Ecto. Maybe it's just my personal taste since I also disliked Linq and Ecto is very similar. What I want is something closer to Rob Conery's https://github.com/robconery/moebius.

    We're using Ecto, but I'm still looking for that easy tool that just seem wonderful to me. $.02

  • GitHub repo rethinkdb

    Rethinkdb client in pure elixir (JSON protocol)

  • GitHub repo mongodb

    MongoDB driver for Elixir

    Project mention: [Podcast] ThinkingElixir 34: José Valim reveals Project Nx | reddit.com/r/elixir | 2021-02-10
  • GitHub repo paper_trail

    Track and record all the changes in your database with Ecto. Revert back to anytime in history. (by izelnakri)

  • GitHub repo exredis

    Redis commands for Elixir (by artemeff)

  • GitHub repo mongodb_ecto

    MongoDB adapter for Ecto

  • GitHub repo triplex

    Database multitenancy for Elixir applications!

  • GitHub repo ExAudit

    Ecto auditing library that transparently tracks changes and can revert them.

  • GitHub repo mariaex

    Pure Elixir database driver for MariaDB / MySQL

  • GitHub repo xandra

    Fast, simple, and robust Cassandra driver for Elixir.

    Project mention: Should I use Ecto or a "dedicated" driver with cassandra? | reddit.com/r/elixir | 2021-01-18

    Cassandrax library u/jesterden just mentioned is built on top of Xandra, which supports ScyllaDB

  • GitHub repo arc_ecto

    An integration with Arc and Ecto.

  • GitHub repo ecto_mnesia

    Ecto adapter for Mnesia Erlang term database.

  • GitHub repo Bolt.Sips

    Neo4j driver for Elixir

  • GitHub repo atlas

    Object Relational Mapper for Elixir (by chrismccord)

  • GitHub repo ecto_psql_extras

    Ecto PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.

  • GitHub repo riak

    A Riak client written in Elixir.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-09-15.


What are some of the best open-source ORM and Datamapping projects in Elixir? This list will help you:

Project Stars
1 ecto 5,218
2 redix 874
3 postgrex 853
4 eventstore 792
5 amnesia 646
6 memento 631
7 ecto_enum 540
8 moebius 530
9 rethinkdb 497
10 mongodb 482
11 paper_trail 423
12 exredis 357
13 mongodb_ecto 321
14 triplex 296
15 ExAudit 258
16 mariaex 257
17 xandra 253
18 arc_ecto 246
19 ecto_mnesia 229
20 Bolt.Sips 219
21 atlas 212
22 ecto_psql_extras 203
23 riak 194
Find remote jobs at our new job board 99remotejobs.com. There are 24 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives