first

open override fun first(): Document(source)

Returns the first document found by this query, or throws an exception.

See also

Throws

If this query returned no results.