RethinkDB ORM for Node.js
npm install thinky
var thinky = ;var type = thinkytype;// Create a model - the table is automatically createdvar Post = thinky;// You can also add constraints on the schemavar Author = thinky;// Join the modelsPost;
Save a new post with its author.
// Create a new postvar post =title: "Hello World!"content: "This is an example.";// Create a new authorvar author =name: "Michel"email: "email@example.com";// Join the documentspostauthor = author;post;
Retrieve the post with its author.
No SLA, but a few developers hang out there and may be able to help:
You are welcome to do a pull request.
The roadmap is defined with the issues/feedback on GitHub. Checkout:
MIT, see the LICENSE file