JSPM

rethinkdb-droptables

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q18907F
  • License MIT

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

Package Exports

  • rethinkdb-droptables

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rethinkdb-droptables) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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