rethinkdb-createtables
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i rethinkdb-createtables

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • alexgorbatchev