js-data-rethinkdbdash-websocket

2.0.17-1 • Public • Published

Forked from js-data-rethinkdb

A rethinkdb websocket adapter for js-data by using rethinkdbdash-websocket-client.

Usage

var JSData = require("js-data")
var RethinkdbAdapter = require("js-data-rethinkdb-websocket")
 
var store = new JSData.DS()
store.registerAdapter("rethinkdb", new RethinkdbAdapter({
  db: "test",
  host: "localhost",
  port: 8015,
  path: "/",
  wsProtocols: ["binary"],
  secure: false
}), {default: true})
var User = store.defineResource("users")

/js-data-rethinkdbdash-websocket/

    Package Sidebar

    Install

    npm i js-data-rethinkdbdash-websocket

    Weekly Downloads

    4

    Version

    2.0.17-1

    License

    none

    Last publish

    Collaborators

    • gutenye