singleResult

abstract fun singleResult(): Entity?

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

Return

the single result

See also

Throws

PanacheQueryException

if there is not exactly one result.