query

abstract override fun query(query: String, vararg args: Any?): RealmResults<T>

Perform a query on the objects of this result using the Realm Query Language.

See these docs for a description of the equivalent realm-java API and these docs for a more detailed description of the actual Realm Query Language.

Ex.: 'color = "tan" AND name BEGINSWITH "B" SORT(name DESC) LIMIT(5)

Return

new result according to the query and query arguments.

Parameters

query

The query string to use for filtering and sort.

args

The query parameters.

Throws