1.0.1 • Published 8 years ago

rethinkdb-droptables v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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