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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i rethinkdb-insuretable

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • alexgorbatchev