Package io.realm.query
Types
RealmElementQuery
Link copied to clipboard
RealmQuery
Link copied to clipboard
A
RealmQuery
encapsulates a query on a Realm, a RealmResults or a RealmList instance using the Builder
pattern.RealmScalarNullableQuery
Link copied to clipboard
RealmScalarQuery
Link copied to clipboard
RealmSingleQuery
Link copied to clipboard
Functions
find
Link copied to clipboard
fun <T : RealmObject, R> RealmQuery<T>.find(block: (RealmResults<T>) -> R): R
Content copied to clipboard
Similar to RealmQuery.find but it receives a block in which the RealmResults from the query are provided.
Similar to RealmScalarNullableQuery.find but it receives a block in which the scalar result from the query is provided.
Similar to RealmScalarQuery.find but it receives a block in which the scalar result from the query is provided.
Similar to RealmSingleQuery.find but it receives a block in which the RealmObject from the query is provided.
max
Link copied to clipboard
inline fun <T : Any> RealmQuery<*>.max(property: String): RealmScalarNullableQuery<T>
Content copied to clipboard
Similar to RealmQuery.max but the type parameter is automatically inferred.
min
Link copied to clipboard
inline fun <T : Any> RealmQuery<*>.min(property: String): RealmScalarNullableQuery<T>
Content copied to clipboard
Similar to RealmQuery.min but the type parameter is automatically inferred.
sum
Link copied to clipboard
inline fun <T : Any> RealmQuery<*>.sum(property: String): RealmScalarQuery<T>
Content copied to clipboard
Similar to RealmQuery.sum but the type parameter is automatically inferred.