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

1.0.1 • Public • Published

rethinkdb-insuretable

Insures that a RethinkDB table is present.

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

Installation

npm install rethinkdb-insuretable

Usage

import insureTable from "rethinkdb-insuretable";
insureDb(connection, "db_name", "table_name").then(table => table.insert(...));

License

MIT

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i rethinkdb-insuretable

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • alexgorbatchev