getOptional method
Execute a read-only (SELECT) query and return a single optional result.
Implementation
@override
Future<sqlite.Row?> getOptional(String sql,
[List<Object?> parameters = const []]) {
return readLock((ctx) async {
return ctx.getOptional(sql, parameters);
}, debugContext: 'getOptional()');
}