Skip to content

Library for Object-Relational Mapping between Postgresql and Erlang

License

Notifications You must be signed in to change notification settings

qibinlin/aui_eorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Test

  • make test

Other analogues

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

About

Library for Object-Relational Mapping between Postgresql and Erlang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published