find

abstract fun find(): RealmResults<T>

Finds all objects that fulfill the query conditions and returns them in a blocking fashion.

It is not recommended launching heavy queries from the UI thread as it may result in a drop of frames or even ANRs. Use asFlow to obtain results of such queries asynchronously instead.

Return

a RealmResults instance containing matching objects. If no objects match the condition, an instance with zero objects is returned.