clearInMemoryDatabase

fun clearInMemoryDatabase(userId: <Error class: unknown class>): Boolean

Clears the in-memory database for the given user. This closes the database connection and removes it from the cache, causing SQLite to delete the shared in-memory database.

Return

true if the database was cleared, false if it didn't exist.

Parameters

userId

The ID of the user whose database should be cleared.

fun clearInMemoryDatabase(userId: UserIDEntity): Boolean