@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

ParameterTypeDescription
knexKnexThe knex instance which should have a db name specified

Returns:

Promise<void>