Reheat Build Status Code Climate Dependency Status Coverage Status

RethinkDB is awesome and ReQL makes queries fun to write, but still, who loves writing tons of database access code? Reheat exists to eliminate boilerplate and level up your RethinkDB experience!

This is alpha software! API will fluctuate until 1.0.0.

You can use it, but be prepared to keep a close eye on the changelog.

Benefits

  • Less code to write
  • Less code to test
  • Less code to maintain
  • Less code that can break
  • Improved sense of well-being

Features:

  • Managed connection pool
  • Entire API supports Promises and Node-style callbacks
  • Easy hooks into Model lifecycle (beforeUpdate(), afterDestroy(), etc.)
  • Robust and flexible Schema definition for your Models
  • Automatic validation based on Schema
  • Easy filtering/querying
  • Query builder (it's just ReQL, easy!)
  • Connection and Schema can each be used on their own
  • Relationship/Associations

Roadmap:

  • Beta
  • 1.0.0
  • The following may or may not make it in before 1.0.0
  • Transactions (and rollbacks)
  • Migrations
  • You tell me!

Quick, what is RethinkDB?

From the RethinkDB website:

An open-source distributed database built with love.

Enjoy an intuitive query language, automatically parallelized queries, and simple administration.

Table joins and batteries included.

License

MIT License

Copyright (C) 2013-2014 Jason Dobry

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.