first method
The first projected row, or null.
Implementation
Future<R?> first() async {
final dialect = await _resolvedDialect();
final row = await _select.first(
session,
dialect: dialect,
timeout: timeout,
cancellationToken: options.cancellationToken,
options: options,
);
return row == null ? null : _map(row);
}