rethinkdb-droptables
v1.0.1
Published
A helper method to delete specified or all tables in RethinkDB database
Downloads
3
Maintainers
Readme
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