rethink-struct

2.0.2 • Public • Published

rethink-struct

Overview

Assert that databases, tables and indexes exists on you RethinkDB server and create it if they don't.

Support

If you like this package and you like what you see in the ad, please click on it to support rethink-struct! Sponsor

Requirements

  • Async/await support (Node 8 or Node 7 with harmony flag)

Index support

Currently, rethink-struct is the only RethinkDB initialisation package that supports all indexes:

  • Simple
  • Compound
  • Multi
  • Geo

How to assert ?

The package parse your schema and build the database as it should be. You can find an example of use in the example.js file.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.22latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.22
2.0.10
2.0.00
1.0.20
1.0.10

Package Sidebar

Install

npm i rethink-struct

Weekly Downloads

2

Version

2.0.2

License

MIT

Last publish

Collaborators

  • xstoudi