runSelect method Null safety

  1. @override
Future<List<Map<String, Object?>>> runSelect(
  1. String statement,
  2. List<Object?> args
)
inherited

Runs a select statement with the given variables and returns the raw results.

Implementation

@override
Future<List<Map<String, Object?>>> runSelect(
    String statement, List<Object?> args) async {
  final result = await _synchronized(() {
    assert(_debugCheckIsOpen());
    _log(statement, args);
    return impl.runSelect(statement, args);
  });
  return result.asMap.toList();
}