ORM and Datamapping

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

143 packages
  • ecto 3.14.1

    A toolkit for data mapping and language integrated query for Elixir

    6.5k
    3.7m last 90 days
  • ecto_sql 3.14.0

    SQL-based adapters for Ecto and database migrations

    657
    3.3m last 90 days
  • Tools to migrate between Mnesia and Khepri

    6
    384.6k last 90 days
  • khepri 0.18.0

    Tree-like replicated on-disk database library

    477
    377.8k last 90 days
  • Ecto extension to support enums in models

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

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

    299
    316.2k last 90 days
  • exqlite 0.39.0

    An Elixir SQLite3 library

    264
    267.7k last 90 days
  • flop 0.26.4

    Filtering, ordering and pagination with Ecto.

    809
    243.6k last 90 days
  • Cursor based pagination for Elixir Ecto.

    821
    230.2k last 90 days
  • ash_sql 0.6.6

    Shared utilities for ecto-based sql data layers.

    8
    229.9k last 90 days
  • The PostgreSQL data layer for Ash Framework

    189
    218.4k last 90 days
  • pgvector support for Elixir

    220
    215.7k last 90 days
  • myxql 0.9.0

    MySQL 5.5+ driver for Elixir

    298
    215.0k last 90 days
  • Polymorphic embeds in Ecto

    431
    212.4k 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
    198.6k last 90 days
  • An SQLite3 Ecto3 adapter.

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

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

    66
    100.7k last 90 days
  • Money functions for the serialization a money data type.

    33
    95.2k last 90 days
  • Elixir Ecto utils.

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

    18
    84.1k last 90 days
  • adbc 0.12.1

    Apache Arrow ADBC bindings for Elixir

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

    52
    80.9k last 90 days
  • ch 0.8.3

    HTTP ClickHouse driver for Elixir

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

    27
    76.3k last 90 days
  • The MongoDB driver for Elixir

    270
    69.8k last 90 days
  • ecto_ch 0.10.0

    ClickHouse adapter for Ecto

    124
    65.0k last 90 days
  • epgsql 4.8.0

    PostgreSQL Client

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

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

    253
    55.9k last 90 days
  • memento 0.6.0

    Simple & Powerful Elixir wrapper for the Mnesia Database

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

    68
    47.7k last 90 days
  • ERD generator for Ecto users

    243
    45.8k last 90 days
  • eetcd 0.6.0

    ETCD V3 client

    44
    44.5k last 90 days
  • Functions to help working with nested changesets and associations

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

    601
    40.2k last 90 days
  • tds 2.3.8

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

    119
    39.9k last 90 days
  • InfluxQL utility/tooling package

    2
    36.0k last 90 days
  • An Ecto.Type implementation of ULID.

    148
    36.0k last 90 days
  • Soft deletion with Ecto.

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

    34.4k last 90 days
  • ex_audit 0.10.0

    Ecto auditing library that transparently tracks changes and can revert them

    371
    33.9k last 90 days
  • InfluxDB driver for Elixir

    228
    33.6k last 90 days
  • cubdb 2.0.2

    A pure-Elixir embedded key-value database

    651
    33.4k last 90 days
  • eql 0.2.0

    Erlang with SQL

    117
    33.3k last 90 days
  • An Elixir DuckDB library

    131
    31.4k last 90 days
  • pgo 0.20.0

    Postgres client with connection pool

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

    18
    29.2k last 90 days
  • mysql 1.9.0

    MySQL/OTP - Erlang MySQL client driver

    374
    27.6k last 90 days
  • esqlite 0.9.0

    sqlite nif interface

    145
    27.1k last 90 days
  • xandra 0.19.4

    Fast, simple, and robust Cassandra driver for Elixir.

    429
    26.3k last 90 days
  • Common helpers for Ecto: validators, formatters, etc.

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

    82
    21.8k last 90 days
  • A Simple ORM for ETS and Mnesia

    53
    21.5k last 90 days
  • pillar 0.40.0

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

    104
    21.2k last 90 days
  • Autoslug field for Ecto.

    153
    20.2k last 90 days
  • Parses logical replication messages from Postgres pgoutput plugin

    28
    20.0k last 90 days
  • Convert Abacus expression into Ecto DSL expressions, and use them for where, selects, order_by, group_by or having clauses.

    5
    19.6k last 90 days
  • A utility library for Ecto

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

    6
    18.6k last 90 days
  • pog 4.1.0

    A PostgreSQL database client for Gleam, based on PGO

    260
    18.3k last 90 days
  • Periodic Connection Reaper for PgBouncer connected Elixir apps

    17.1k last 90 days
  • kino_db 0.5.0

    Databases integration with Livebook

    47
    16.4k last 90 days
  • arbor 1.1.1

    Ecto adjacency list and tree traversal

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

    21
    15.3k last 90 days
  • amnesia 0.2.8

    mnesia wrapper for Elixir

    709
    14.8k last 90 days
  • cets 0.3.1

    Clustered Erlang Term Storage

    31
    13.5k last 90 days
  • Helpful queries and Phoenix Live Dashboard integration for SQLite.

    39
    13.3k last 90 days
  • Detect destructive operations before rolling back Ecto migrations.

    0
    13.2k last 90 days
  • Ecto MySQL (and MariaDB) database performance insights.

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

    39
    13.0k last 90 days
  • A forked ETS adapter for Ecto

    387
    12.7k last 90 days
  • Postgres adapter for :alarm_clock

    0
    12.1k last 90 days
  • Catch unsafe migrations in your Elixir application

    60
    12.1k last 90 days
  • ayesql 1.1.4

    Library for using raw SQL

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

    10.3k
    11.6k last 90 days
  • sqlight 1.2.0

    Use SQLite from Gleam!

    154
    11.6k 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.5k 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.3k last 90 days
  • Interval Type for Ecto

    25
    11.3k last 90 days
  • exandra 1.1.0

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

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

    36
    11.2k 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
    10.9k last 90 days
  • arc_ecto 0.11.3

    An integration with Arc and Ecto.

    253
    10.9k last 90 days
  • mariaex 0.9.1

    Pure elixir database driver for MariaDB / MySQL.

    262
    10.8k last 90 days
  • Provides commonly used fields for Ecto projects.

    44
    10.7k last 90 days
  • Add and maintain rankings to sort your data with Ecto

    44
    10.2k last 90 days
  • Easily build extendable and composable Ecto queries.

    169
    9.9k last 90 days
  • boltx 0.0.6

    Neo4j driver for Elixir, using the fast Bolt protocol

    36
    9.6k last 90 days
  • lotus 0.16.6

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

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

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

    20
    8.8k last 90 days
  • Phone number type with validation and formatting for Ecto

    16
    8.7k last 90 days
  • rocksdb 3.1.1

    RocksDB for Erlang

    24
    8.5k last 90 days
  • The tree structure implementations for Ecto.

    33
    8.3k last 90 days
  • Ecto integration for Capsule

    5
    8.2k last 90 days
  • Helper tools for making ecto interactions more pleasant and shorter

    119
    8.1k last 90 days
  • triplex 1.3.0

    Build multitenant applications on top of Ecto.

    505
    7.8k last 90 days
  • p1_pgsql 1.1.41

    PostgreSQL driver

    19
    7.7k last 90 days
  • Easy time-series data in TimescaleDB with Ecto

    130
    7.7k last 90 days
  • 🐿️ Type safe SQL in Gleam

    669
    7.6k last 90 days
  • spear 1.4.1

    A sharp EventStoreDB 20+ client backed by mint

    95
    7.6k last 90 days
  • Elixir client for ElectricSQL

    10.3k
    7.6k last 90 days
  • sqlite3 1.1.15

    SQLite3 Interface

    25
    7.4k last 90 days
  • Neo4j driver for Elixir, using the fast Bolt protocol

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

    7.3k last 90 days
  • monarch 0.3.2

    Simple framework for defining and running data migrations and backfills.

    22
    7.1k last 90 days
  • Opinionated schema management for Bigtable and BigQuery.

    4
    7.0k last 90 days
  • tenant 2.0.0

    Build multitenant applications on top of Ecto.

    21
    7.0k last 90 days
  • chunkr 0.2.1

    Keyset-based pagination for Ecto.

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

    2
    6.3k last 90 days
  • p1_mysql 1.0.28

    Pure Erlang MySQL driver

    18
    6.2k 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.2k last 90 days
  • A plugin for Ecto and Timex which allows use of Timex types with Ecto

    162
    6.1k last 90 days
  • mnesiac 0.3.14

    Auto clustering for Mnesia made easy!

    137
    6.0k last 90 days
  • The SQLite data layer for Ash Framework.

    30
    5.9k last 90 days
  • Idiomatic Elixir client for the Aerospike database

    2
    5.7k last 90 days
  • A utility for writing dynamic queries.

    33
    5.6k last 90 days
  • cinema 0.1.1

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

    26
    5.5k last 90 days
  • PG Views support for Ecto

    8
    5.4k last 90 days
  • MongoDB adapter for Ecto

    379
    5.4k last 90 days
  • bourne 1.1.0

    Better streaming for Ecto.

    76
    4.9k last 90 days
  • cigogne 5.0.6

    Easily migrate your Postgres databases. In Gleam !

    45
    4.9k last 90 days
  • yacto 2.1.1

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

    55
    4.7k last 90 days
  • Erlang Redis Client

    5
    4.6k last 90 days
  • Database Pure Migration Tool

    22
    4.4k 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.0k last 90 days
  • An Ecto-based DataProvider implementation for the Lti_1p3 library

    0
    3.9k last 90 days
  • Arke postgres

    17
    3.8k last 90 days
  • Provides a way to ensure that all queries made from your Elixir application, using Ecto, have tenancy set

    56
    3.8k last 90 days
  • grax 0.6.1

    A light-weight RDF graph data mapper for Elixir.

    38
    3.7k last 90 days
  • walex 4.8.0

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

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

    0
    3.6k last 90 days
  • Ecto-backed session persistence for the Elixir ADK (adk_ex). Database-backed ADK.Session.Service implementation with support for SQLite3 and PostgreSQL.

    0
    3.6k last 90 days
  • agex 0.1.1

    AgensGraph and AGE extension for Postgrex.

    7
    3.5k last 90 days
  • Gleam bindings to mnesia

    3
    3.5k last 90 days
  • mongodb 1.0.1

    MongoDB driver for Elixir

    566
    3.5k last 90 days
  • Elixir client for TigerBeetle, the financial transactions database.

    117
    3.4k last 90 days
  • Maintain an immutable history for Ecto.Schema records.

    3.2k last 90 days
  • exto 0.4.0

    Extend ecto schema definitions in config

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

    18
    3.2k 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.2k last 90 days