abstract fun find(): T?

Finds the first object that fulfills the query conditions and returns it 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.


a RealmObject or EmbeddedRealmObject instance or null if no object matches the condition.