@statechannels/server-wallet > DBAdmin > dropDatabase

DBAdmin.dropDatabase() method

Drops the database based on the database specified in the wallet configuration

Signature:

static dropDatabase(config: IncomingWalletConfig): Promise<void>;

Parameters

ParameterTypeDescription
configIncomingWalletConfigThe wallet configuration object containing the database configuration to use

Returns:

Promise<void>