ORM and Datamapping

Object-relational mapping and database abstraction layers, primarily Ecto. Packages among the 3,000 most downloaded in the past 90 days.

147 packages
  • ecto 3.14.2

    A toolkit for data mapping and language integrated query for Elixir

    6.5k
    5.7m last 90 days
  • ecto_sql 3.14.0

    SQL-based adapters for Ecto and database migrations

    656
    5.0m last 90 days
  • khepri 0.19.3

    Tree-like replicated on-disk database library

    493
    472.1k last 90 days
  • Tools to migrate between Mnesia and Khepri

    6
    467.6k last 90 days
  • Paginate your Ecto queries with Scrivener

    585
    436.8k last 90 days
  • exqlite 0.43.0

    An Elixir SQLite3 library

    266
    431.7k last 90 days
  • A library to define Ecto schemas with typespecs without all the boilerplate code.

    301
    419.0k last 90 days
  • Ecto extension to support enums in models

    570
    402.0k last 90 days
  • flop 0.29.1

    Filtering, ordering and pagination with Ecto.

    820
    388.8k last 90 days
  • ash_sql 0.8.3

    Shared utilities for ecto-based sql data layers.

    9
    379.2k last 90 days
  • The PostgreSQL data layer for Ash Framework

    190
    361.3k last 90 days
  • pgvector support for Elixir

    226
    341.7k last 90 days
  • An SQLite3 Ecto3 adapter.

    342
    296.6k last 90 days
  • Polymorphic embeds in Ecto

    433
    286.7k last 90 days
  • attrs 0.6.0

    Unifying atom and string key handling for user data (attrs maps) given to Ecto's cast function

    5
    267.4k last 90 days
  • Cursor based pagination for Elixir Ecto.

    822
    256.0k last 90 days
  • myxql 0.9.0

    MySQL 5.5+ driver for Elixir

    299
    247.2k last 90 days
  • An integration with Waffle and Ecto.

    123
    159.2k last 90 days
  • Money functions for the serialization a money data type.

    34
    127.3k last 90 days
  • Ecto types to support MACADDR and Network extensions provided by Postgrex.

    66
    119.6k last 90 days
  • ch 0.9.3

    HTTP ClickHouse driver for Elixir

    85
    105.8k last 90 days
  • The extension for keeping an audit log of changes to your Ash resources.

    54
    100.3k last 90 days
  • epgsql 4.8.0

    PostgreSQL Client

    448
    96.4k last 90 days
  • An Ash extension to implement archival (soft deletion) for resources.

    27
    95.2k last 90 days
  • Audit trails for Elixir/PostgreSQL based on triggers

    258
    89.6k last 90 days
  • The MongoDB driver for Elixir

    270
    87.3k last 90 days
  • xandra 0.20.0

    Fast, simple, and robust Cassandra driver for Elixir.

    430
    85.5k last 90 days
  • ecto_ch 0.11.1

    ClickHouse adapter for Ecto

    124
    81.7k last 90 days
  • A utility library for Ecto

    111
    81.3k last 90 days
  • Functions to help working with nested changesets and associations

    16
    76.0k last 90 days
  • The client interface for connecting to the Snowflake data warehouse.

    70
    75.1k last 90 days
  • Provides a DSL to easily handle Postgres Enum Types in Ecto database migrations

    19
    72.8k last 90 days
  • ERD generator for Ecto users

    249
    64.1k last 90 days
  • memento 0.6.0

    Simple & Powerful Elixir wrapper for the Mnesia Database

    797
    62.5k last 90 days
  • An Ecto.Type implementation of ULID.

    148
    53.5k last 90 days
  • ex_audit 0.10.0

    Ecto auditing library that transparently tracks changes and can revert them

    371
    52.2k last 90 days
  • tds 2.3.8

    Microsoft SQL Server client (Elixir implementation of the MS TDS protocol)

    119
    51.3k last 90 days
  • pgo 0.20.0

    Postgres client with connection pool

    108
    50.7k last 90 days
  • Erlang library for encoding and decoding postgres data types

    18
    50.6k last 90 days
  • Periodic Connection Reaper for PgBouncer connected Elixir apps

    49.3k last 90 days
  • cubdb 2.0.2

    A pure-Elixir embedded key-value database

    658
    49.1k last 90 days
  • esqlite 0.9.0

    sqlite nif interface

    146
    48.6k last 90 days
  • eql 0.2.0

    Erlang with SQL

    117
    46.7k last 90 days
  • eetcd 0.6.0

    ETCD V3 client

    44
    44.3k last 90 days
  • Track and record all the changes in your database. Revert back to anytime in history.

    602
    42.3k last 90 days
  • Common helpers for Ecto: validators, formatters, etc.

    55
    39.5k last 90 days
  • A library that provides the necessary modules to support the PostgreSQL’s `ltree` data type with Ecto.

    35
    37.9k last 90 days
  • Soft deletion with Ecto.

    123
    37.2k last 90 days
  • Cursor-based streaming of Ecto records that doesn't require database transaction.

    35.6k last 90 days
  • An Elixir DuckDB library

    134
    34.0k last 90 days
  • pog 4.1.0

    A PostgreSQL database client for Gleam, based on PGO

    268
    33.8k last 90 days
  • InfluxQL utility/tooling package

    2
    31.7k last 90 days
  • mysql 1.9.0

    MySQL/OTP - Erlang MySQL client driver

    377
    31.4k last 90 days
  • InfluxDB driver for Elixir

    228
    30.4k last 90 days
  • adbc 0.12.1

    Apache Arrow ADBC bindings for Elixir

    87
    28.3k last 90 days
  • Compose Ecto queries without effort

    81
    25.2k last 90 days
  • sqlight 1.2.0

    Use SQLite from Gleam!

    159
    22.7k last 90 days
  • A forked ETS adapter for Ecto

    388
    21.7k last 90 days
  • Postgres sync engine. Sync little subsets of your Postgres data into local apps and services.

    10.4k
    20.8k last 90 days
  • Catch unsafe migrations in your Elixir application

    60
    19.2k last 90 days
  • rocksdb 3.1.2

    RocksDB for Erlang

    25
    18.7k last 90 days
  • Easy time-series data in TimescaleDB with Ecto

    130
    18.4k last 90 days
  • Autoslug field for Ecto.

    153
    18.4k last 90 days
  • Elixir Snowflake Connector built on top of the Snowflake SQL API v2.

    21
    18.2k last 90 days
  • arbor 1.1.1

    Ecto adjacency list and tree traversal

    243
    17.5k last 90 days
  • pillar 0.40.0

    Elixir client for ClickHouse, a fast open-source Online Analytical Processing (OLAP) database management system.

    105
    17.4k last 90 days
  • Provides commonly used fields for Ecto projects.

    44
    17.0k last 90 days
  • Phone number type with validation and formatting for Ecto

    16
    16.9k last 90 days
  • Ecto MySQL (and MariaDB) database performance insights.

    8
    16.1k last 90 days
  • Easily build extendable and composable Ecto queries.

    169
    15.8k last 90 days
  • The SQLite data layer for Ash Framework.

    32
    15.6k last 90 days
  • Parses logical replication messages from Postgres pgoutput plugin

    28
    14.6k last 90 days
  • Helpful queries and Phoenix Live Dashboard integration for SQLite.

    39
    14.4k last 90 days
  • exandra 1.1.0

    Exandra is an Elixir library that brings the power of Scylla/Cassandra to Ecto.

    39
    13.9k last 90 days
  • An Ecto.Type implementation of ULID.

    36
    13.4k last 90 days
  • arc_ecto 0.11.3

    An integration with Arc and Ecto.

    253
    13.1k last 90 days
  • spear 1.5.0

    A sharp EventStoreDB 20+ client backed by mint

    95
    13.1k last 90 days
  • Elixir client for ElectricSQL

    10.4k
    12.9k last 90 days
  • mariaex 0.9.1

    Pure elixir database driver for MariaDB / MySQL.

    262
    12.6k last 90 days
  • cets 0.3.2

    Clustered Erlang Term Storage

    33
    12.1k last 90 days
  • Ecto helpers for creating database views and functions

    11.9k last 90 days
  • kino_db 0.5.0

    Databases integration with Livebook

    48
    11.9k last 90 days
  • Interval Type for Ecto

    25
    11.6k last 90 days
  • kura 2.20.12

    Database layer for Erlang — Ecto-equivalent abstractions

    18
    11.6k last 90 days
  • 🐿️ Type safe SQL in Gleam

    691
    11.4k last 90 days
  • StructConstructor allows you to declare structs using Ecto.Schema and generate constructor functions that will take care of coercion and handling various input formats (maps, keyword lists with string or atom keys).

    7
    11.3k last 90 days
  • Elixir client for TigerBeetle, the financial transactions database.

    120
    10.9k last 90 days
  • Implements a generic `middleware/2` callback for any module that uses `Ecto.Repo` to customize behaviour.

    6
    10.4k last 90 days
  • Add and maintain rankings to sort your data with Ecto

    44
    10.2k last 90 days
  • triplex 1.3.0

    Build multitenant applications on top of Ecto.

    503
    10.2k last 90 days
  • lotus 1.3.0

    Lightweight, SQL query runner and storage for Elixir apps — save, organize, and execute analytical queries with Ecto.

    84
    10.1k last 90 days
  • Helper tools for making ecto interactions more pleasant and shorter

    120
    10.1k last 90 days
  • p1_pgsql 1.1.41

    PostgreSQL driver

    20
    10.0k last 90 days
  • Detect destructive operations before rolling back Ecto migrations.

    0
    10.0k last 90 days
  • parrot 2.3.0

    🦜 type-safe SQL in gleam for sqlite, postgresql & mysql

    216
    9.9k last 90 days
  • A plugin for Ecto and Timex which allows use of Timex types with Ecto

    162
    9.8k last 90 days
  • Neo4j driver for Elixir, using the fast Bolt protocol

    268
    9.8k last 90 days
  • Adds callbacks/hooks to Ecto: `after_insert`, `after_update`, `after_delete`, `after_get`, `before_insert`, `before_update`, `before_delete`. Useful for setting virtual fields and centralising logic.

    49
    9.4k last 90 days
  • sqlite3 1.1.15

    SQLite3 Interface

    26
    9.2k last 90 days
  • Ecto.ShortUUID is a custom Ecto type which adds support for ShortUUID in Ecto schemas More info on ShortUUID: https://github.com/gpedic/ex_shortuuid

    31
    9.1k last 90 days
  • boltx 0.0.6

    Neo4j driver for Elixir, using the fast Bolt protocol

    36
    9.0k last 90 days
  • mnesiac 0.3.14

    Auto clustering for Mnesia made easy!

    137
    9.0k last 90 days
  • Helpers for manipulating nested Ecto changesets

    65
    8.7k last 90 days
  • An Ecto-based DataProvider implementation for the Lti_1p3 library

    0
    8.6k last 90 days
  • A library that allows searching, sorting and paginating ecto queries

    8.2k last 90 days
  • A collection of macros to enhance Ectos fragment()

    20
    8.2k last 90 days
  • p1_mysql 1.0.28

    Pure Erlang MySQL driver

    19
    8.1k last 90 days
  • Lightweight, SQL query runner and storage for Elixir apps — save, organize, and execute analytical queries with Ecto.

    49
    8.0k last 90 days
  • Generates a data structure describing the difference between two ecto structs

    39
    8.0k last 90 days
  • cqerl 2.1.3

    Native Erlang CQL client for Cassandra

    213
    7.0k last 90 days
  • bourne 1.1.0

    Better streaming for Ecto.

    76
    6.8k last 90 days
  • DBConnection-backed Elixir wrapper for Turso/libSQL via Rustler

    3
    6.5k last 90 days
  • cigogne 5.0.6

    Easily migrate your Postgres databases. In Gleam !

    48
    6.3k last 90 days
  • Extend Ecto with value object helpers

    15
    6.3k last 90 days
  • Loom fork of esqlite with deterministic private-query statement retirement

    0
    6.1k last 90 days
  • yesql 1.0.1

    Using plain old SQL to query databases

    81
    6.1k last 90 days
  • Loom packaging of sqlight with deterministic SQLite query retirement

    0
    5.8k last 90 days
  • ayesql 1.1.4

    Library for using raw SQL

    147
    5.4k last 90 days
  • A utility for writing dynamic queries.

    36
    5.3k last 90 days
  • req_ch 0.2.0

    A minimal Req plugin for ClickHouse

    21
    5.2k last 90 days
  • A pure-Elixir embedded key-value database

    0
    5.0k last 90 days
  • monarch 0.3.2

    Simple framework for defining and running data migrations and backfills.

    25
    5.0k last 90 days
  • A helper to build the most common database queries for Ecto.

    4.9k last 90 days
  • Aims in building database queries using data as filtering conditions.

    2
    4.8k last 90 days
  • Adds full-text search, scoping, filtering, ordering, and pagination APIs for the Ash Framework.

    18
    4.8k last 90 days
  • Manage Data Migrations with Ecto and Phoenix LiveDashboard

    12
    4.7k last 90 days
  • Erlang Redis Client

    5
    4.6k last 90 days
  • MongoDB adapter for Ecto

    378
    4.6k last 90 days
  • Ecto type for PostgreSQL's tstzrange

    6
    4.6k last 90 days
  • Ecto integration for Capsule

    5
    4.6k last 90 days
  • PG Views support for Ecto

    8
    4.5k last 90 days
  • sqlitex 1.7.1

    A thin Elixir wrapper around esqlite

    119
    4.4k last 90 days
  • Parse PostgreSQL URIs into keyword lists (for use with Postgrex).

    0
    4.4k last 90 days
  • walex 4.8.0

    Listen to change events on your Postgres tables then perform callback-like actions with the data.

    371
    4.4k last 90 days
  • Database Pure Migration Tool

    22
    4.4k last 90 days
  • A pure Elixir driver for Neo4j graph database using the Bolt protocol. Supports authentication, query execution, transactions, and connection management.

    11
    4.3k last 90 days
  • PostgreSQL range types for Ecto PgRanges provides a simple wrapper around `Postgrex.Range` so that you can create schemas with range type fields and use the native range type in migrations.

    21
    4.3k last 90 days
  • Maintain an immutable history for Ecto.Schema records.

    4.2k last 90 days
  • yacto 2.1.1

    A library for automatically generating a migration file and horizontally partitioning databases

    55
    4.0k last 90 days
  • riakc 2.5.3

    The Riak client for Erlang

    315
    3.9k last 90 days
  • Precompiled SQLite extensions, to be used with `exqlite`.

    9
    3.9k last 90 days
  • etso 1.1.0

    An ETS adapter for Ecto

    388
    3.9k last 90 days
  • Arke postgres

    19
    3.7k last 90 days
  • Type-safe, domain-specific object IDs with Ecto integration

    15
    3.6k last 90 days
  • Erlang driver and Ecto adapter for Oracle

    110
    3.6k last 90 days
  • selecto 0.4.8

    A query builder

    4
    3.6k last 90 days
  • endon 2.0.3

    Ecto query helpers, inspired by ActiveRecord

    16
    3.6k last 90 days