executeAsOneOrNull

Return

The first row of the result set for the underlying SQL statement as a non null RowType or null if the result set has no rows.

Throws

if when executed this query has multiple rows in its result set.