@statechannels/server-wallet > DBAdmin > dropDatabaseFromKnex
DBAdmin.dropDatabaseFromKnex() method
Drops the database specified by the knex instance connection info
Signature:
static dropDatabaseFromKnex(knex: Knex): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
knex | Knex | The knex instance which should have a db name specified |
Returns:
Promise<void>