ORM and Datamapping

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

151 packages
  • ecto 3.14.1

    A toolkit for data mapping and language integrated query for Elixir

    6.5k
    4.0m last 90 days
  • ecto_sql 3.14.0

    SQL-based adapters for Ecto and database migrations

    659
    3.6m last 90 days
  • Tools to migrate between Mnesia and Khepri

    6
    389.9k last 90 days
  • khepri 0.18.0

    Tree-like replicated on-disk database library

    481
    377.1k last 90 days
  • Ecto extension to support enums in models

    569
    369.7k last 90 days
  • Paginate your Ecto queries with Scrivener

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

    299
    312.8k last 90 days
  • exqlite 0.39.0

    An Elixir SQLite3 library

    264
    292.4k last 90 days
  • ash_sql 0.6.7

    Shared utilities for ecto-based sql data layers.

    8
    261.1k last 90 days
  • flop 0.27.1

    Filtering, ordering and pagination with Ecto.

    811
    260.5k last 90 days
  • The PostgreSQL data layer for Ash Framework

    188
    248.1k last 90 days
  • pgvector support for Elixir

    220
    247.0k last 90 days
  • Polymorphic embeds in Ecto

    431
    226.8k last 90 days
  • Cursor based pagination for Elixir Ecto.

    823
    223.2k last 90 days
  • myxql 0.9.0

    MySQL 5.5+ driver for Elixir

    298
    217.1k 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
    211.6k last 90 days
  • An SQLite3 Ecto3 adapter.

    340
    189.0k last 90 days
  • An integration with Waffle and Ecto.

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

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

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

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

    27
    85.4k last 90 days
  • ch 0.9.1

    HTTP ClickHouse driver for Elixir

    86
    83.8k last 90 days
  • The MongoDB driver for Elixir

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

    18
    71.8k last 90 days
  • epgsql 4.8.0

    PostgreSQL Client

    445
    68.8k last 90 days
  • ecto_ch 0.11.0

    ClickHouse adapter for Ecto

    125
    66.9k last 90 days
  • Functions to help working with nested changesets and associations

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

    36
    56.5k last 90 days
  • Audit trails for Elixir/PostgreSQL based on triggers

    253
    55.8k last 90 days
  • ERD generator for Ecto users

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

    68
    51.8k last 90 days
  • eetcd 0.6.0

    ETCD V3 client

    44
    45.2k last 90 days
  • memento 0.6.0

    Simple & Powerful Elixir wrapper for the Mnesia Database

    796
    43.5k last 90 days
  • tds 2.3.8

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

    119
    41.7k last 90 days
  • eql 0.2.0

    Erlang with SQL

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

    600
    41.4k last 90 days
  • InfluxQL utility/tooling package

    2
    40.2k last 90 days
  • InfluxDB driver for Elixir

    228
    38.1k last 90 days
  • An Ecto.Type implementation of ULID.

    148
    36.7k last 90 days
  • ex_audit 0.10.0

    Ecto auditing library that transparently tracks changes and can revert them

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

    35.8k last 90 days
  • An Elixir DuckDB library

    132
    34.5k last 90 days
  • cubdb 2.0.2

    A pure-Elixir embedded key-value database

    653
    33.2k last 90 days
  • esqlite 0.9.0

    sqlite nif interface

    145
    31.8k last 90 days
  • Soft deletion with Ecto.

    124
    31.6k last 90 days
  • adbc 0.12.1

    Apache Arrow ADBC bindings for Elixir

    86
    31.4k last 90 days
  • Periodic Connection Reaper for PgBouncer connected Elixir apps

    31.3k last 90 days
  • pgo 0.20.0

    Postgres client with connection pool

    106
    31.3k last 90 days
  • Erlang library for encoding and decoding postgres data types

    18
    31.1k last 90 days
  • mysql 1.9.0

    MySQL/OTP - Erlang MySQL client driver

    375
    27.1k last 90 days
  • xandra 0.20.0

    Fast, simple, and robust Cassandra driver for Elixir.

    430
    26.8k last 90 days
  • Common helpers for Ecto: validators, formatters, etc.

    55
    25.4k last 90 days
  • Compose Ecto queries without effort

    82
    21.0k last 90 days
  • pillar 0.40.0

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

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

    6
    20.0k last 90 days
  • pog 4.1.0

    A PostgreSQL database client for Gleam, based on PGO

    264
    19.9k last 90 days
  • A utility library for Ecto

    111
    19.6k last 90 days
  • Parses logical replication messages from Postgres pgoutput plugin

    28
    18.9k last 90 days
  • Autoslug field for Ecto.

    153
    18.7k last 90 days
  • Catch unsafe migrations in your Elixir application

    60
    17.3k last 90 days
  • arbor 1.1.1

    Ecto adjacency list and tree traversal

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

    21
    16.2k last 90 days
  • kino_db 0.5.0

    Databases integration with Livebook

    48
    15.0k last 90 days
  • electric 1.7.10

    Postgres sync engine. Sync little subsets of your Postgres data into local apps and services.

    10.3k
    14.6k last 90 days
  • Ecto MySQL (and MariaDB) database performance insights.

    8
    14.6k last 90 days
  • A forked ETS adapter for Ecto

    387
    14.3k last 90 days
  • cets 0.3.2

    Clustered Erlang Term Storage

    33
    14.3k last 90 days
  • sqlight 1.2.0

    Use SQLite from Gleam!

    154
    14.1k last 90 days
  • Helpful queries and Phoenix Live Dashboard integration for SQLite.

    38
    13.3k last 90 days
  • Phone number type with validation and formatting for Ecto

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

    39
    12.9k last 90 days
  • exandra 1.1.0

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

    39
    12.4k last 90 days
  • Easily build extendable and composable Ecto queries.

    169
    12.3k last 90 days
  • Easy time-series data in TimescaleDB with Ecto

    130
    12.2k last 90 days
  • Detect destructive operations before rolling back Ecto migrations.

    0
    12.0k last 90 days
  • Provides commonly used fields for Ecto projects.

    44
    11.9k last 90 days
  • mariaex 0.9.1

    Pure elixir database driver for MariaDB / MySQL.

    262
    11.7k last 90 days
  • ayesql 1.1.4

    Library for using raw SQL

    146
    11.6k 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
    11.5k 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
    11.4k last 90 days
  • An Ecto.Type implementation of ULID.

    36
    11.3k last 90 days
  • arc_ecto 0.11.3

    An integration with Arc and Ecto.

    253
    11.1k last 90 days
  • boltx 0.0.6

    Neo4j driver for Elixir, using the fast Bolt protocol

    36
    11.0k last 90 days
  • Interval Type for Ecto

    25
    10.8k 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
    10.7k last 90 days
  • Add and maintain rankings to sort your data with Ecto

    44
    10.6k last 90 days
  • 🐿️ Type safe SQL in Gleam

    678
    9.5k last 90 days
  • Neo4j driver for Elixir, using the fast Bolt protocol

    267
    9.5k last 90 days
  • lotus 0.16.6

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

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

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

    46
    9.1k last 90 days
  • Helper tools for making ecto interactions more pleasant and shorter

    119
    9.0k last 90 days
  • spear 1.4.1

    A sharp EventStoreDB 20+ client backed by mint

    95
    9.0k last 90 days
  • Elixir client for ElectricSQL

    10.3k
    8.7k last 90 days
  • triplex 1.3.0

    Build multitenant applications on top of Ecto.

    505
    8.6k last 90 days
  • rocksdb 3.1.2

    RocksDB for Erlang

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

    8.4k last 90 days
  • p1_pgsql 1.1.41

    PostgreSQL driver

    19
    8.4k last 90 days
  • Ecto integration for Capsule

    5
    8.4k last 90 days
  • monarch 0.3.2

    Simple framework for defining and running data migrations and backfills.

    23
    7.9k last 90 days
  • The SQLite data layer for Ash Framework.

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

    162
    7.5k last 90 days
  • sqlite3 1.1.15

    SQLite3 Interface

    25
    7.5k last 90 days
  • An Ecto-based DataProvider implementation for the Lti_1p3 library

    0
    7.3k last 90 days
  • kura 2.20.7

    Database layer for Erlang — Ecto-equivalent abstractions

    15
    7.3k last 90 days
  • tenant 2.0.0

    Build multitenant applications on top of Ecto.

    21
    7.1k last 90 days
  • Ecto helpers for creating database views and functions

    6.9k last 90 days
  • p1_mysql 1.0.28

    Pure Erlang MySQL driver

    18
    6.7k last 90 days
  • mnesiac 0.3.14

    Auto clustering for Mnesia made easy!

    137
    6.7k last 90 days
  • endo 0.1.24

    Endo is a library containing database schema reflection APIs for your applications, as well as implementations of queryable schemas to facilitate custom database reflection via Ecto.

    32
    6.6k last 90 days
  • A utility for writing dynamic queries.

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

    2
    6.0k last 90 days
  • chunkr 0.2.1

    Keyset-based pagination for Ecto.

    6
    5.8k last 90 days
  • cinema 0.1.1

    A simple Elixir framework utilizing Ecto and DAGs to incrementally materialize views!

    26
    5.7k last 90 days
  • cigogne 5.0.6

    Easily migrate your Postgres databases. In Gleam !

    47
    5.6k last 90 days
  • bourne 1.1.0

    Better streaming for Ecto.

    76
    5.6k last 90 days
  • yacto 2.1.1

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

    55
    5.3k last 90 days
  • MongoDB adapter for Ecto

    378
    5.2k last 90 days
  • PG Views support for Ecto

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

    2
    4.9k last 90 days
  • Elixir client for TigerBeetle, the financial transactions database.

    118
    4.7k last 90 days
  • Erlang Redis Client

    5
    4.7k last 90 days
  • Database Pure Migration Tool

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

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

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

    18
    3.9k last 90 days
  • grax 0.6.1

    A light-weight RDF graph data mapper for Elixir.

    38
    3.8k last 90 days
  • walex 4.8.0

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

    368
    3.7k last 90 days
  • Manage Data Migrations with Ecto and Phoenix LiveDashboard

    12
    3.7k last 90 days
  • mongodb 1.0.1

    MongoDB driver for Elixir

    565
    3.7k last 90 days
  • cqerl 2.1.3

    Native Erlang CQL client for Cassandra

    213
    3.6k last 90 days
  • selecto 0.4.8

    A query builder

    4
    3.6k last 90 days
  • Exleveldb is a thin wrapper around the Erlang module, eleveldb. At the moment, Exleveldb exposes functions for all features of LevelDB as well as an Elixir stream interface to Eleveldb's iterators.

    43
    3.6k last 90 days
  • Helpers for manipulating nested Ecto changesets

    65
    3.6k 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
    3.5k last 90 days
  • quackdb 0.5.18

    Remote DuckDB Quack protocol client for Elixir

    20
    3.5k last 90 days
  • Elixir Ecto utils.

    5
    3.5k last 90 days
  • Arke postgres

    18
    3.4k last 90 days
  • sqlitex 1.7.1

    A thin Elixir wrapper around esqlite

    119
    3.3k last 90 days
  • exto 0.4.0

    Extend ecto schema definitions in config

    6
    3.3k last 90 days
  • Ecto type for PostgreSQL's tstzrange

    6
    3.2k last 90 days
  • eleveldb 2.2.20

    Erlang LevelDB API

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

    3.1k last 90 days
  • etso 1.1.0

    An ETS adapter for Ecto

    387
    3.0k last 90 days
  • endon 2.0.3

    Ecto query helpers, inspired by ActiveRecord

    16
    3.0k last 90 days
  • Erlang driver and Ecto adapter for Oracle

    110
    3.0k last 90 days
  • req_ch 0.2.0

    A minimal Req plugin for ClickHouse

    21
    2.9k last 90 days
  • pge 0.2.10

    PG extended

    1
    2.9k last 90 days
  • A DynamoDB adapter for Ecto supporting basic queries. See https://github.com/circles-learning-labs/ecto_adapters_dynamodb for detailed instructions.

    67
    2.8k last 90 days
  • An Ash Framework data layer for ScyllaDB/Apache Cassandra using Exandra

    1
    2.8k last 90 days