VersionId

data class VersionId(val version: Long) : Comparable<VersionId>

A VersionId representing the transactional id of the Realm itself or it's objects.

Realm is an MVCC database. This means that at any given time, multiple version of data can be visible. This class describes the version of such data.

The version of a Realm will change whenever a write is committed.

Constructors

Link copied to clipboard
constructor(version: Long)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: VersionId): Int