Package io.realm.kotlin.ext
Functions
asBsonObjectId
Link copied to clipboard
asFlow
Link copied to clipboard
asRealmObject
Link copied to clipboard
backlinks
Link copied to clipboard
inline fun <T : TypedRealmObject> EmbeddedRealmObject.backlinks(sourceProperty: KProperty1<T, *>): EmbeddedBacklinksDelegate<T>
Content copied to clipboard
Returns a BacklinksDelegate that represents the inverse relationship between two an EmbeddedRealmObject and a TypedRealmObject.
inline fun <T : TypedRealmObject> RealmObject.backlinks(sourceProperty: KProperty1<T, *>): BacklinksDelegate<T>
Content copied to clipboard
Returns a BacklinksDelegate that represents the inverse relationship between two Realm models.
fun <T : TypedRealmObject> EmbeddedRealmObject.backlinks(sourceProperty: KProperty1<T, *>, sourceClass: KClass<T>): EmbeddedBacklinksDelegate<T>
Content copied to clipboard
Defines a backlink that represents a one-to-one inverse relationship between an EmbeddedRealmObject and a TypedRealmObject.
fun <T : TypedRealmObject> RealmObject.backlinks(sourceProperty: KProperty1<T, *>, sourceClass: KClass<T>): BacklinksDelegate<T>
Content copied to clipboard
copyFromRealm
Link copied to clipboard
inline fun <T : TypedRealmObject> T.copyFromRealm(depth: UInt = UInt.MAX_VALUE): T
Content copied to clipboard
Makes an unmanaged in-memory copy of an already persisted io.realm.kotlin.types.RealmObject.
inline fun <T : TypedRealmObject> RealmResults<T>.copyFromRealm(depth: UInt = UInt.MAX_VALUE): List<T>
Content copied to clipboard
Makes an unmanaged in-memory copy of the elements in a RealmResults.
inline fun <T : TypedRealmObject> RealmList<T>.copyFromRealm(depth: UInt = UInt.MAX_VALUE): List<T>
Content copied to clipboard
Makes an unmanaged in-memory copy of the elements in a managed RealmList.
inline fun <T : RealmObject> RealmSet<T>.copyFromRealm(depth: UInt = UInt.MAX_VALUE): Set<T>
Content copied to clipboard
Makes an unmanaged in-memory copy of the elements in a managed RealmSet.
isFrozen
Link copied to clipboard
isManaged
Link copied to clipboard
isValid
Link copied to clipboard
parent
Link copied to clipboard
fun <T : TypedRealmObject> EmbeddedRealmObject.parent(parentClass: KClass<T>): T
Content copied to clipboard
Gets the parent of the embedded object, embedded objects always have an unique parent, that could be a RealmObject or another EmbeddedRealmObject.
query
Link copied to clipboard
inline fun <T : BaseRealmObject> MutableRealm.query(query: String = TRUE_PREDICATE, vararg args: Any?): RealmQuery<T>
Content copied to clipboard
inline fun <T : BaseRealmObject> Realm.query(query: String = TRUE_PREDICATE, vararg args: Any?): RealmQuery<T>
Content copied to clipboard
inline fun <T : BaseRealmObject> TypedRealm.query(query: String = TRUE_PREDICATE, vararg args: Any?): RealmQuery<T>
Content copied to clipboard
fun <T : BaseRealmObject> RealmList<T>.query(filter: String = TRUE_PREDICATE, vararg arguments: Any?): RealmQuery<T>
Content copied to clipboard
realmListOf
Link copied to clipboard
realmSetOf
Link copied to clipboard
toRealmList
Link copied to clipboard
toRealmSet
Link copied to clipboard
version
Link copied to clipboard