Skip to content

Instantly share code, notes, and snippets.

@lynsei
Last active February 3, 2022 14:18
Show Gist options
  • Save lynsei/7d6a4c1662b6c8b7bf65444fe6f09712 to your computer and use it in GitHub Desktop.
Save lynsei/7d6a4c1662b6c8b7bf65444fe6f09712 to your computer and use it in GitHub Desktop.
[rethinkdb-adapters] Adapters

rethinkdb-adapters

  1. Automapper can be used

js-data-rethinkdb

RethinkDB adapter for the JSData Node.js ORM.

Installation

npm install --save js-data js-data-rethinkdb

Usage

import { RethinkDBAdapter } from 'js-data-rethinkdb';

// Create an instance of RethinkDBAdapter
const adapter = new RethinkDBAdapter();

// Other JSData setup hidden

// Register the adapter instance
store.registerAdapter('rethinkdb', adapter, { default: true });

JSData + RethinkDB Tutorial

Start with the JSData + RethinkDB tutorial or checkout the API Reference Documentation.

Need help?

Please post a question on Stack Overflow. This is the preferred method.

You can also chat with folks on the Slack Channel. If you end up getting your question answered, please still consider consider posting your question to Stack Overflow (then possibly answering it yourself). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment