/eorm

Library for Object-Relational Mapping between Postgresql and Erlang

Primary LanguageErlangMIT LicenseMIT

eorm

Object-Relational Mapping for work with Postgresql, inspired by http://sqlkorma.com/

Motivation

  • Lightweight and transparent way to build sql

  • Minimization of mistakes and huge reduction of code at works with db

  • Declarative description of mapping object attributes to db fields

  • Supports partitioning ( Not supported but can be implemented through callbacks) TODO

  • Supports sharding ( Not supported but can be implemented through callbacks) TODO

Overview

  • eorm - base module for declate entities
  • eorm_object - helper module for a work with objects
  • eorm_db - module for a work with db

For details see:

Other analogues

  • BossDB - A sharded, caching, pooling, evented ORM for Erlang
  • mekao - Erlang SQL constructor
  • Sqerl - An Erlang-flavoured SQL DSL