A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mongodb.com/docs/realm-sdks/kotlin/latest/library-base/io.realm.kotlin.query/find.html below:

find

fun <T : BaseRealmObject, R> RealmQuery<T>.find(block: (RealmResults<T>) -> R): R

Similar to RealmQuery.find but it receives a block in which the RealmResults from the query are provided.

Return

whatever block returns

Parameters

T

the type of the query

R

the type returned by block

fun <T, R> RealmScalarNullableQuery<T>.find(block: (T?) -> R): R

Similar to RealmScalarNullableQuery.find but it receives a block in which the scalar result from the query is provided.

Return

whatever block returns

Parameters

T

the type of the query

R

the type returned by block

fun <T, R> RealmScalarQuery<T>.find(block: (T) -> R): R

Similar to RealmScalarQuery.find but it receives a block in which the scalar result from the query is provided.

Return

whatever block returns

Parameters

T

the type of the query

R

the type returned by block

fun <T : BaseRealmObject, R> RealmSingleQuery<T>.find(block: (T?) -> R): R

Similar to RealmSingleQuery.find but it receives a block in which the RealmObject or EmbeddedRealmObject from the query is provided.

Return

whatever block returns

Parameters

T

the type of the query

R

the type returned by block


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4