1.0.1 • Published 8 years ago

rethinkdb-createtables v1.0.1

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

rethinkdb-createtables

A helper method to create one or more RethinkDB tables.

  • If a table is not present, creates it
  • If a table is present, does nothing

Installation

npm install rethinkdb-createtables

Usage

import createTables from "rethinkdb-createtables";
createTables(connection, "db_name", [ "table1", ... ]).then(() => ...);

License

MIT