Stories in Ready

sumo_db

About

This is a work in progress. There’s also an article about sumo_db. This articles might be a little outdated by now, but can still provide some basic information on how to get started.

sumo_db aims to ease db access for erlang applications. It offers a very simple persistance layer capable of interacting with different db’s, while offering a consistent api to your code.

Contact Us

For questions or general comments regarding the use of this library, please use our public hipchat room.

If you find any bugs or have a problem while using this library, please open an issue in this repo (or a pull request :)).

And you can check all of our open-source projects at inaka.github.io

Overview

Backends, Stores and Repositories modules

These three concepts have a specific meaning in the context of sumo_db.

Implementing an Adapter

TO implement an adapter, you must implement two behaviors: sumo_backend and sumo_store.

Example

See: examples/blog for a full example. To run it, while being in the top level directory:

make all blog

Running Dialyzer

$ rebar3 dialyzer

Running Tests

$ rebar3 ct

Change Log

All notable changes to this project will be documented in the CHANGELOG.md.

Contributors

We want to thank all of our contributors for their hard work :muscle:.