query

inline fun <T : BaseRealmObject> MutableRealm.query(query: String = "TRUEPREDICATE", vararg args: Any?): RealmQuery<T>

Returns a RealmQuery matching the predicate represented by query.

Reified convenience wrapper for MutableRealm.query.

inline fun <T : BaseRealmObject> Realm.query(query: String = "TRUEPREDICATE", vararg args: Any?): RealmQuery<T>

Returns a RealmQuery matching the predicate represented by query.

Reified convenience wrapper for Realm.query.

inline fun <T : BaseRealmObject> TypedRealm.query(query: String = "TRUEPREDICATE", vararg args: Any?): RealmQuery<T>

Returns a RealmQuery matching the predicate represented by query.

Reified convenience wrapper of TypedRealm.query.

Parameters

query

the Realm Query Language predicate to append.

args

Realm values for the predicate.