fetchOrNulls method

Future<(A?, B?)> fetchOrNulls()

Query the database for the row matching this QuerySingle, if any.

Warning

When using this method it is impossible to distinguish between a result where all values are null and zero rows.

Implementation

Future<(A?, B?)> fetchOrNulls() async => await fetch() ?? (null, null);