abstract fun find(): T?

Returns the value of a scalar query as a T in a blocking fashion. The result may be null if no objects are present.

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 asynchroneously instead.


a T containing the result of the scalar query or null depending on the query being executed.