ORM and Datamapping

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

168 packages
  • ecto 3.13.2

    A toolkit for data mapping and language integrated query for Elixir

    6.4k
    4.7m last 90 days
  • ecto_sql 3.13.2

    SQL-based adapters for Ecto and database migrations

    630
    4.3m last 90 days
  • khepri 0.17.2

    Tree-like replicated on-disk database library

    422
    660.6k last 90 days
  • Tools to migrate between Mnesia and Khepri

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

    586
    622.2k last 90 days
  • Ecto extension to support enums in models

    567
    516.2k last 90 days
  • myxql 0.8.0

    MySQL 5.5+ driver for Elixir

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

    290
    452.2k last 90 days
  • flop 0.26.3

    Filtering, ordering and pagination with Ecto.

    771
    389.2k last 90 days
  • Cursor based pagination for Elixir Ecto.

    801
    351.0k last 90 days
  • Polymorphic embeds in Ecto

    401
    290.0k 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
    254.9k last 90 days
  • exqlite 0.33.0

    An Elixir SQLite3 library

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

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

    18
    159.6k last 90 days
  • An integration with Waffle and Ecto.

    121
    138.9k last 90 days
  • An SQLite3 Ecto3 adapter.

    320
    132.7k last 90 days
  • pgvector support for Elixir

    197
    130.4k last 90 days
  • The PostgreSQL data layer for Ash Framework

    164
    123.9k last 90 days
  • ash_sql 0.2.89

    Shared utilities for ecto-based sql data layers.

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

    587
    121.5k last 90 days
  • Money functions for the serialization a money data type.

    30
    111.0k last 90 days
  • tds 2.3.5

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

    118
    107.7k last 90 days
  • ERD generator for Ecto users

    234
    92.9k last 90 days
  • ch 0.5.4

    HTTP ClickHouse driver for Elixir

    67
    81.0k last 90 days
  • Audit trails for Elixir/PostgreSQL based on triggers

    220
    79.9k last 90 days
  • epgsql 4.8.0

    PostgreSQL Client

    430
    79.7k last 90 days
  • The MongoDB driver for Elixir

    262
    76.2k last 90 days
  • ecto_ch 0.8.0

    ClickHouse adapter for Ecto

    103
    75.0k last 90 days
  • xandra 0.19.4

    Fast, simple, and robust Cassandra driver for Elixir.

    421
    70.0k last 90 days
  • A utility library for Ecto

    111
    68.8k last 90 days
  • Common helpers for Ecto: validators, formatters, etc.

    55
    63.9k last 90 days
  • triplex 1.3.0

    Build multitenant applications on top of Ecto.

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

    35
    56.8k last 90 days
  • InfluxQL utility/tooling package

    2
    51.8k last 90 days
  • Soft deletion with Ecto.

    121
    50.7k last 90 days
  • InfluxDB driver for Elixir

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

    -
    49.5k last 90 days
  • Autoslug field for Ecto.

    152
    46.3k last 90 days
  • eql 0.2.0

    Erlang with SQL

    117
    45.1k last 90 days
  • Parses logical replication messages from Postgres pgoutput plugin

    28
    44.8k last 90 days
  • exandra 0.16.0

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

    36
    42.5k last 90 days
  • ex_audit 0.10.0

    Ecto auditing library that transparently tracks changes and can revert them

    369
    41.7k last 90 days
  • Compose Ecto queries without effort

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

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

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

    20
    35.6k last 90 days
  • Provides commonly used fields for Ecto projects.

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

    36
    33.5k last 90 days
  • Ecto MySQL (and MariaDB) database performance insights.

    7
    33.0k last 90 days
  • Easy time-series data in TimescaleDB with Ecto

    128
    32.5k last 90 days
  • Functions to help working with nested changesets and associations

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

    56
    30.6k last 90 days
  • eetcd 0.5.0

    ETCD V3 client

    43
    28.7k last 90 days
  • mysql 1.9.0

    MySQL/OTP - Erlang MySQL client driver

    372
    28.6k last 90 days
  • memento 0.5.0

    Simple & Powerful Elixir wrapper for the Mnesia Database

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

    42
    25.5k last 90 days
  • Phone number type with validation and formatting for Ecto

    16
    23.6k last 90 days
  • ayesql 1.1.3

    Library for using raw SQL

    146
    23.4k last 90 days
  • Periodic Connection Reaper for PgBouncer connected Elixir apps

    -
    23.3k last 90 days
  • arc_ecto 0.11.3

    An integration with Arc and Ecto.

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

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

    19
    20.1k last 90 days
  • arbor 1.1.1

    Ecto adjacency list and tree traversal

    242
    19.8k last 90 days
  • A utility for writing dynamic queries.

    31
    16.9k last 90 days
  • sqlite3 1.1.15

    SQLite3 Interface

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

    39
    16.4k last 90 days
  • drill 1.2.3

    Seed data handling for Elixir

    16
    16.3k last 90 days
  • pillar 0.39.0

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

    95
    16.3k 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.

    45
    15.7k last 90 days
  • yacto 2.1.1

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

    56
    15.7k last 90 days
  • Add and maintain rankings to sort your data with Ecto

    44
    14.7k last 90 days
  • pgo 0.15.0

    Postgres client with connection pool

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

    16
    14.2k last 90 days
  • eodbc 0.2.0

    Erlang ODBC application

    3
    13.9k last 90 days
  • Catch unsafe migrations in your Elixir application

    58
    13.8k 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
    13.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
    12.7k last 90 days
  • pog 4.1.0

    A PostgreSQL database client for Gleam, based on PGO

    202
    12.0k last 90 days
  • Helpful queries and Phoenix Live Dashboard integration for SQLite.

    35
    12.0k 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
    11.3k last 90 days
  • A forked ETS adapter for Ecto

    383
    10.9k last 90 days
  • Interval Type for Ecto

    25
    10.4k last 90 days
  • duckdbex 0.3.13

    An Elixir DuckDB library

    102
    10.3k last 90 days
  • p1_pgsql 1.1.34

    PostgreSQL driver

    19
    10.2k last 90 days
  • bourne 1.1.0

    Better streaming for Ecto.

    76
    10.0k last 90 days
  • cubdb 2.0.2

    A pure-Elixir embedded key-value database

    621
    9.9k last 90 days
  • cqerl 2.1.3

    Native Erlang CQL client for Cassandra

    213
    9.9k last 90 days
  • kino_db 0.3.0

    Databases integration with Livebook

    44
    9.6k last 90 days
  • p1_mysql 1.0.26

    Pure Erlang MySQL driver

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

    108
    9.5k last 90 days
  • Helpers for manipulating nested Ecto changesets

    63
    9.4k last 90 days
  • Neo4j driver for Elixir, using the fast Bolt protocol

    263
    9.4k last 90 days
  • cets 0.3.0

    Clustered Erlang Term Storage

    26
    9.4k last 90 days
  • qlc 1.0.10

    QLC interface for Elixir

    21
    9.2k last 90 days
  • cqex 1.0.1

    Idiomatic Elixir client for Cassandra.

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

    212
    8.4k last 90 days
  • mariaex 0.9.1

    Pure elixir database driver for MariaDB / MySQL.

    262
    8.3k last 90 days
  • Erlang CouchDB client

    240
    8.3k last 90 days
  • Easily build extendable and composable Ecto queries.

    170
    8.1k last 90 days
  • PG Views support for Ecto

    9
    8.0k last 90 days
  • adbc 0.7.9

    Apache Arrow ADBC bindings for Elixir

    70
    7.9k last 90 days
  • esqlite 0.8.9

    sqlite nif interface

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

    2
    7.6k last 90 days
  • mnesiac 0.3.14

    Auto clustering for Mnesia made easy!

    135
    7.5k last 90 days
  • A set of common Ecto interfaces generated on the fly with macros

    1
    7.3k last 90 days
  • grax 0.6.0

    A light-weight RDF graph data mapper for Elixir.

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

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

    0
    6.4k last 90 days
  • mongodb 1.0.1

    MongoDB driver for Elixir

    571
    6.4k last 90 days
  • MongoDB adapter for Ecto

    379
    6.3k last 90 days
  • Ecto support for Postgres Range types

    27
    6.0k last 90 days
  • riakc 2.5.3

    The Riak client for Erlang

    313
    5.4k last 90 days
  • equery 0.18.1

    Sql generator library

    23
    5.0k last 90 days
  • Erlang Redis Client

    5
    5.0k last 90 days
  • sqlight 1.0.2

    Use SQLite from Gleam!

    114
    4.9k 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
    4.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.

    30
    4.5k last 90 days
  • boltx 0.0.6

    Neo4j driver for Elixir, using the fast Bolt protocol

    35
    4.5k last 90 days
  • The SQLite data layer for Ash Framework.

    20
    4.4k last 90 days
  • condo 0.2.4

    Multi-tenant functions for Ecto. SaaS for Elixir.

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

    164
    4.1k last 90 days
  • spear 1.4.1

    A sharp EventStoreDB 20+ client backed by mint

    95
    4.1k last 90 days
  • Nimble Ecto type for datetime fields to cast from Unix timestamps.

    14
    4.1k last 90 days
  • Pagination for Ecto and Phoenix.

    231
    3.9k last 90 days
  • etso 1.1.0

    An ETS adapter for Ecto

    383
    3.9k last 90 days
  • Bitcrowd's Ecto utilities

    12
    3.8k last 90 days
  • pge 0.2.9

    PG extended

    1
    3.8k last 90 days
  • Erlang driver and Ecto adapter for Oracle

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

    65
    3.6k last 90 days
  • A Revisionair Storage Adapter based on Ecto. Keeps track of revisions, changes, versions of your data structures.

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

    454
    3.3k last 90 days
  • Hierarchy structure for ecto models with PostgreSQL LTree.

    36
    3.3k last 90 days
  • Helpers for advisory locks with postgresql and ecto

    4
    3.3k last 90 days
  • Helper library to better join + preload Ecto associations, and other goodies

    18
    3.2k last 90 days
  • Maintain an immutable history for Ecto.Schema records.

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

    -
    3.1k last 90 days
  • Tools for using UUID based id with Ash

    15
    3.0k last 90 days
  • Leverage Ecto associations to deep clone db records & do other helpful stuff

    11
    3.0k last 90 days
  • Library for working with local read-replica Postgres databases and performing writes through RPC calls to other nodes in the primary Fly.io region.

    107
    3.0k last 90 days
  • walex 4.7.0

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

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

    11
    2.8k last 90 days
  • Extensions for Ecto previously used at Kinetic Commerce

    -
    2.8k last 90 days
  • exto 0.4.0

    Extend ecto schema definitions in config

    6
    2.8k last 90 days
  • rocksdb 1.9.0

    RocksDB for Erlang

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

    9.0k
    2.7k last 90 days
  • amnesia 0.2.8

    mnesia wrapper for Elixir

    704
    2.6k last 90 days
  • EctoModel is a library that overhauls your EctoSchemas with additional functionality.

    2
    2.6k last 90 days
  • Elixir Ecto utils.

    5
    2.6k last 90 days
  • monarch 0.2.0

    Simple framework for defining and running data migrations and backfills.

    5
    2.5k last 90 days
  • chunkr 0.2.1

    Keyset-based pagination for Ecto.

    6
    2.5k last 90 days
  • Adds function to transform request params into ecto query expressions.

    13
    2.4k last 90 days
  • Ecto utilities for use in NLdoc.

    -
    2.4k last 90 days
  • cinema 0.1.1

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

    25
    2.4k last 90 days
  • The tree structure implementations for Ecto.

    32
    2.3k last 90 days
  • Database Pure Migration Tool

    22
    2.3k 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.

    -
    2.3k last 90 days
  • Elixir client for ElectricSQL

    9.0k
    2.2k last 90 days
  • Generate basics and common repo calls within your schema implementation

    11
    2.2k last 90 days
  • eleveldb 2.2.20

    Erlang LevelDB API

    262
    2.2k last 90 days
  • BasicContexts on ecto.

    0
    2.1k last 90 days
  • Macro to easily generate independent Enum Ecto.Types with support for integer and string as the underlying representation and atoms for the app logic.

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

    57
    1.9k last 90 days
  • A thin wrapper for Mnesia

    2
    1.9k last 90 days
  • An Ecto-based DataProvider implementation for the Lti_1p3 library

    0
    1.8k last 90 days
  • cake 2.1.3

    An SQL query builder for Gleam for SQL dialects 🐘PostgreSQL, 🪶SQLite, 🦭MariaDB, and 🐬MySQL

    107
    1.8k last 90 days
  • An Ecto type for UUIDs and ID displayed as shortcode with support of prefix 'à la Stripe'.

    5
    1.8k last 90 days
  • Client library for sending requests to Druid.

    44
    1.7k last 90 days