fetchRowStrict

fun fetchRowStrict(params: Map<String, Any?>): Row

Executes the query and returns its single row, requiring exactly one.

Return

The single row.

Parameters

params

Values by parameter name, without the leading @.

Throws

INCORRECT_RESULT_SIZE if no row or more than one row matched, MISSING_NAMED_PARAMETER if the statement names a parameter params omits.


fun fetchRowStrict(vararg params: Pair<String, Any?>): Row

Same as fetchRowStrict, with the values given as Pairs.