Skip to main content

Function: deleteAllReplicacheData()

deleteAllReplicacheData(opts?): Promise<{ dropped: string[]; errors: unknown[]; }>

Deletes all IndexedDB data associated with Replicache.

Returns an object with the names of the successfully dropped databases and any errors encountered while dropping.

Parameters

opts?

DropDatabaseOptions

Returns

Promise<{ dropped: string[]; errors: unknown[]; }>

Deprecated

Use dropAllDatabases instead.