@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
Parameter | Type | Description |
---|---|---|
config | IncomingWalletConfig | The wallet configuration object containing the database configuration to use |
Returns:
Promise<void>