inMemory

fun inMemory(readonly: Boolean = SQLiteDatabase.DEFAULT_READONLY): SQLiteDatabase

SQLite: In-memory

Create an in-memory database, using any of the provided options as constructor options; this method is syntactic sugar on top of inMemory with an explicit suite of options.

Return

The database instance.

Parameters

readonly

Whether the database should be read-only.