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

1.0.1 • Public • Published

rethinkdb-droptables

A helper method to delete specified or all tables in RethinkDB database.

Installation

npm install rethinkdb-droptables

Usage

import dropTables from "rethinkdb-droptables";

// drop specified tables
dropTables(connection, "db_name", [ "table1", ... ]).then(() => ...);

// drop all tables
dropTables(connection, "db_name").then(() => ...);

License

MIT

Package Sidebar

Install

npm i rethinkdb-droptables

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • alexgorbatchev