fetchObject
Executes the query and maps its single row onto T, or returns null when nothing matched.
Return
The mapped row, or null if there were none.
Parameters
params
Values by parameter name, without the leading @.
Type Parameters
T
The type the row is mapped to.
Throws
INCORRECT_RESULT_SIZE if more than one row matched.
if the row cannot be mapped onto T.
Same as fetchObject, with the values given as Pairs.