rawQueryAs<T> method

Future<List<T>> rawQueryAs<T>(
  1. Object tableEntityInstance,
  2. String sql, [
  3. List<Object?>? args
])

Like rawQuery, each row read through fromMap of tableEntityInstance.

Implementation

Future<List<T>> rawQueryAs<T>(
  Object tableEntityInstance,
  String sql, [
  List<Object?>? args,
]) async => _entities<T>(tableEntityInstance, await rawQuery(sql, args));