ORM and Datamapping

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

157 packages
  • ecto 3.13.5

    A toolkit for data mapping and language integrated query for Elixir

    6.5k
    3.0m last 90 days
  • ecto_sql 3.13.5

    SQL-based adapters for Ecto and database migrations

    653
    2.7m last 90 days
  • Elixir Ecto utils.

    5
    672.2k last 90 days
  • Tools to migrate between Mnesia and Khepri

    6
    540.7k last 90 days
  • khepri 0.18.0

    Tree-like replicated on-disk database library

    459
    540.6k last 90 days
  • adbc 0.11.0

    Apache Arrow ADBC bindings for Elixir

    81
    457.8k last 90 days
  • Ecto extension to support enums in models

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

    298
    294.7k last 90 days
  • Paginate your Ecto queries with Scrivener

    585
    292.9k last 90 days
  • myxql 0.8.1

    MySQL 5.5+ driver for Elixir

    295
    225.4k last 90 days
  • The PostgreSQL data layer for Ash Framework

    181
    210.5k last 90 days
  • flop 0.26.3

    Filtering, ordering and pagination with Ecto.

    806
    195.3k last 90 days
  • Cursor based pagination for Elixir Ecto.

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

    5
    176.5k last 90 days
  • A Simple ORM for ETS and Mnesia

    42
    170.8k last 90 days
  • exqlite 0.36.0

    An Elixir SQLite3 library

    258
    159.1k last 90 days
  • Polymorphic embeds in Ecto

    429
    157.5k last 90 days
  • ash_sql 0.6.1

    Shared utilities for ecto-based sql data layers.

    7
    153.5k 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
    141.3k last 90 days
  • pgvector support for Elixir

    217
    127.2k last 90 days
  • amnesia 0.2.8

    mnesia wrapper for Elixir

    709
    113.3k last 90 days
  • An SQLite3 Ecto3 adapter.

    334
    106.9k last 90 days
  • Postgres adapter for :alarm_clock

    0
    98.4k last 90 days
  • An integration with Waffle and Ecto.

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

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

    18
    79.9k last 90 days
  • Money functions for the serialization a money data type.

    33
    79.8k last 90 days
  • epgsql 4.8.0

    PostgreSQL Client

    444
    64.3k last 90 days
  • The MongoDB driver for Elixir

    269
    61.3k last 90 days
  • ch 0.7.1

    HTTP ClickHouse driver for Elixir

    81
    60.0k last 90 days
  • The tree structure implementations for Ecto.

    33
    57.4k last 90 days
  • Opinionated schema management for Bigtable and BigQuery.

    4
    56.3k last 90 days
  • ecto_ch 0.8.6

    ClickHouse adapter for Ecto

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

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

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

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

    49
    41.8k last 90 days
  • ERD generator for Ecto users

    241
    40.1k last 90 days
  • eetcd 0.6.0

    ETCD V3 client

    44
    39.0k last 90 days
  • pgo 0.20.0

    Postgres client with connection pool

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

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

    18
    36.8k last 90 days
  • memento 0.5.0

    Simple & Powerful Elixir wrapper for the Mnesia Database

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

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

    599
    33.9k last 90 days
  • Soft deletion with Ecto.

    124
    32.3k last 90 days
  • xandra 0.19.4

    Fast, simple, and robust Cassandra driver for Elixir.

    426
    30.9k last 90 days
  • ex_audit 0.10.0

    Ecto auditing library that transparently tracks changes and can revert them

    371
    29.7k last 90 days
  • Parses logical replication messages from Postgres pgoutput plugin

    28
    29.1k last 90 days
  • InfluxQL utility/tooling package

    2
    28.4k last 90 days
  • agex 0.1.1

    AgensGraph and AGE extension for Postgrex.

    7
    28.1k last 90 days
  • Gleam bindings to mnesia

    3
    28.0k last 90 days
  • InfluxDB driver for Elixir

    228
    27.4k last 90 days
  • eql 0.2.0

    Erlang with SQL

    117
    27.3k last 90 days
  • An Ecto.Type implementation of ULID.

    147
    27.0k last 90 days
  • mysql 1.9.0

    MySQL/OTP - Erlang MySQL client driver

    375
    25.6k last 90 days
  • tds 2.3.7

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

    119
    25.3k last 90 days
  • pog 4.1.0

    A PostgreSQL database client for Gleam, based on PGO

    248
    24.8k last 90 days
  • Functions to help working with nested changesets and associations

    16
    24.5k last 90 days
  • Common helpers for Ecto: validators, formatters, etc.

    55
    24.1k last 90 days
  • arc_ecto 0.11.3

    An integration with Arc and Ecto.

    253
    23.4k last 90 days
  • A utility library for Ecto

    111
    23.3k last 90 days
  • SaaS Library for Ecto applications using Postgres or Mysql

    181
    23.1k last 90 days
  • Arke postgres

    17
    19.8k last 90 days
  • cubdb 2.0.2

    A pure-Elixir embedded key-value database

    648
    19.8k last 90 days
  • arbor 1.1.1

    Ecto adjacency list and tree traversal

    243
    18.3k last 90 days
  • An Elixir DuckDB library

    133
    18.1k last 90 days
  • Compose Ecto queries without effort

    82
    18.0k last 90 days
  • Autoslug field for Ecto.

    152
    15.6k last 90 days
  • Ecto MySQL (and MariaDB) database performance insights.

    8
    15.5k last 90 days
  • kino_db 0.4.0

    Databases integration with Livebook

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

    6
    14.5k last 90 days
  • Rails like auto generated Ecto functions

    14.2k last 90 days
  • pillar 0.40.0

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

    102
    14.2k last 90 days
  • akaridb 1.0.0

    Database migration manager

    14.1k last 90 days
  • exandra 1.0.0

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

    39
    14.0k last 90 days
  • Anka.Ecto helps to create Ecto schemas and their context functions with optionally definable pre/post processors that prepare CRUDL resources from models based on Anka.Model.

    13.9k last 90 days
  • cets 0.3.0

    Clustered Erlang Term Storage

    28
    13.3k last 90 days
  • Periodic Connection Reaper for PgBouncer connected Elixir apps

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

    36
    12.1k 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.9k last 90 days
  • esqlite 0.9.0

    sqlite nif interface

    144
    11.5k last 90 days
  • arangox 0.7.0

    ArangoDB 3.4+ driver for Elixir with connection pooling, support for VelocyStream, active failover, transactions and streamed cursors.

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

    21
    10.6k last 90 days
  • Phone number type with validation and formatting for Ecto

    16
    10.6k last 90 days
  • triplex 1.3.0

    Build multitenant applications on top of Ecto.

    506
    10.4k last 90 days
  • rocksdb 2.6.2

    RocksDB for Erlang

    19
    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.7k last 90 days
  • p1_pgsql 1.1.41

    PostgreSQL driver

    19
    9.5k last 90 days
  • An ArangoDB adapter for Ecto supporting Ecto queries and graph queries.

    55
    9.4k last 90 days
  • A forked ETS adapter for Ecto

    384
    9.3k last 90 days
  • Provides commonly used fields for Ecto projects.

    44
    9.3k last 90 days
  • sqlite3 1.1.15

    SQLite3 Interface

    24
    9.1k last 90 days
  • p1_mysql 1.0.28

    Pure Erlang MySQL driver

    18
    9.0k last 90 days
  • Helper tools for making ecto interactions more pleasant and shorter

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

    39
    9.0k last 90 days
  • Helpful queries and Phoenix Live Dashboard integration for SQLite.

    37
    8.7k last 90 days
  • Idiomatic Elixir client for the Aerospike database

    1
    8.2k last 90 days
  • eodbc 0.2.0

    Erlang ODBC application

    3
    8.1k last 90 days
  • 🐿️ Type safe SQL in Gleam

    630
    8.1k last 90 days
  • Neo4j driver for Elixir, using the fast Bolt protocol

    267
    8.0k 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
    7.9k last 90 days
  • mariaex 0.9.1

    Pure elixir database driver for MariaDB / MySQL.

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

    19
    7.8k last 90 days
  • ayesql 1.1.4

    Library for using raw SQL

    147
    7.6k last 90 days
  • lotus 0.16.4

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

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

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

    10.1k
    7.3k last 90 days
  • Add and maintain rankings to sort your data with Ecto

    44
    7.0k last 90 days
  • mnesiac 0.3.14

    Auto clustering for Mnesia made easy!

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

    43
    6.6k last 90 days
  • The SQLite data layer for Ash Framework.

    27
    6.5k last 90 days
  • yacto 2.1.1

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

    55
    6.4k last 90 days
  • Easy time-series data in TimescaleDB with Ecto

    130
    6.3k last 90 days
  • MongoDB adapter for Ecto

    379
    6.1k last 90 days
  • Client interface to MongoDB, also known as the driver. See www.mongodb.org

    0
    5.8k 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.

    19
    5.8k 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
    5.8k last 90 days
  • arangoex 0.0.10

    An Elixir driver for ArangoDB.

    25
    5.6k last 90 days
  • PG Views support for Ecto

    8
    5.4k last 90 days
  • Elixir client for ElectricSQL

    10.1k
    5.4k last 90 days
  • An Ecto-based DataProvider implementation for the Lti_1p3 library

    0
    5.3k last 90 days
  • A utility for writing dynamic queries.

    32
    5.3k last 90 days
  • equery 0.19.0

    Sql generator library

    23
    5.3k last 90 days
  • boltx 0.0.6

    Neo4j driver for Elixir, using the fast Bolt protocol

    37
    5.2k last 90 days
  • cigogne 5.0.5

    Easily migrate your Postgres databases. In Gleam !

    43
    5.2k last 90 days
  • Catch unsafe migrations in your Elixir application

    60
    5.0k last 90 days
  • A simple query builder helper for Ash.Query

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

    17
    4.8k last 90 days
  • walex 4.7.1

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

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

    164
    4.7k last 90 days
  • Maintain an immutable history for Ecto.Schema records.

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

    2
    4.6k last 90 days
  • Interval Type for Ecto

    25
    4.6k last 90 days
  • Easily build extendable and composable Ecto queries.

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

    56
    4.4k last 90 days
  • bourne 1.1.0

    Better streaming for Ecto.

    76
    4.2k last 90 days
  • chunkr 0.2.1

    Keyset-based pagination for Ecto.

    6
    4.2k last 90 days
  • sqlight 1.1.0

    Use SQLite from Gleam!

    147
    4.0k last 90 days
  • Helpers for manipulating nested Ecto changesets

    65
    4.0k last 90 days
  • Ash DataLayer for Neo4j

    15
    4.0k last 90 days
  • A RedisGraph client implementation.

    23
    3.8k 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.

    33
    3.8k last 90 days
  • spear 1.4.1

    A sharp EventStoreDB 20+ client backed by mint

    95
    3.7k last 90 days
  • drill 1.2.3

    Seed data handling for Elixir

    16
    3.6k last 90 days
  • grax 0.6.1

    A light-weight RDF graph data mapper for Elixir.

    37
    3.5k last 90 days
  • monarch 0.3.2

    Simple framework for defining and running data migrations and backfills.

    21
    3.4k last 90 days
  • condo 0.2.4

    Multi-tenant functions for Ecto. SaaS for Elixir.

    9
    3.4k last 90 days
  • qlc 1.0.10

    QLC interface for Elixir

    22
    3.3k last 90 days
  • An ecto based Nested set model implementation

    35
    3.3k last 90 days
  • Erlang Redis Client

    5
    3.3k last 90 days
  • A CubDB data layer for `Ash` resources.

    10
    3.0k last 90 days
  • Database Pure Migration Tool

    22
    3.0k last 90 days
  • Bitcrowd's Ecto utilities

    13
    3.0k last 90 days
  • Helpers for advisory locks with postgresql and ecto

    4
    2.9k last 90 days
  • Unit functions for the serialization to a database of a Cldr.Unit.t data type. Also includes aggregation and sum functions.

    1
    2.9k last 90 days
  • A ClickHouse database client.

    2.8k last 90 days