getReadAllWhereQuery method

Query getReadAllWhereQuery({
  1. required Type type,
  2. List<Constraint> where = const [],
  3. int? limit,
})
inherited

generates a query that execute a read operation on the database by applying a search function

Implementation

Query getReadAllWhereQuery({
  required Type type,
  List<Constraint> where = const [],
  int? limit,
}) =>
    Query(
      entityName: type.toString(),
      action: QueryAction.read,
      where: where,
      limit: limit,
    );