fetchOrNulls method

Future<(A?, B?, C?, D?, E?, F?)> 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?, C?, D?, E?, F?)> fetchOrNulls() async =>
    await fetch() ?? (null, null, null, null, null, null);