Hanami::Model RethinkDB Adapter

This adapter implements a Hanami::Model persistence layer for RethinkDB.

Status

Gem Version Build Status Coverage Status Code Climate Inline docs

Installation

Add this line to your application's Gemfile:

gem 'hanami-rethinkdb'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hanami-rethinkdb

Usage

Please refer to the Hanami::Model docs for any details related to Entity, Repository, Data Mapper and Adapter.

Repository methods

See the complete list of Repository methods provided by Hanami::Model.

Following methods are not supported since it's incompatible with RethinkDB:

  • first
  • last

Query methods

Generic query methods supported by the RethinkDB adapter:

RethinkDB-specific methods:

Contributing

  1. Fork it ( https://github.com/angeloashmore/hanami-rethinkdb/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request