query method

Future<List<T>> query(
  1. Query query
)

Implementation

Future<List<T>> query(Query query) async {
  if (kDebugMode && query.columns != null) {
    debugPrint('Warning: columns are ignored in query for table $tableName. If you want to select specific columns, do not use a converter.');
  }

  return (await table.query(query.withoutColumns())) //
      .map((e) => fromDb(e))
      .toList();
}