createSnapshot

abstract fun createSnapshot(database: String = SQLITE_MAIN_DB_NAME): Snapshot(source)

Records the current state of the given database and returns a Snapshot.

Throws

if a failure occurs while creating the snapshot.