singleResult

open override fun singleResult(): Uni<Entity>

Executes this query for the current page and return a single result.

Return

the single result (throws if there is not exactly one)

See also

Throws

NoResultException

if there is no result

NonUniqueResultException

if there are more than one result