1.0.3 • Published 8 years ago

rethinkdb-insuredb v1.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
8 years ago

rethinkdb-insuredb

Insures that a RethinkDB database is present.

  • If database is not present, creates and returns it
  • If database present, returns it

Installation

npm install rethinkdb-insuredb

Usage

import insureDb from "rethinkdb-insuredb";
insureDb(connection, "db_name").then(db => db.tableCreate(...));

License

MIT

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago