openSnapshot

abstract fun openSnapshot(snapshot: Snapshot, database: String? = null)(source)

Starts a new read transaction or upgrades an existing one for database of this database such that the read transaction refers to historical snapshot, rather than the most recent change to the database.

Throws

if a failure occurred while attempting to open the snapshot.