Query constructor

Query({
  1. required String entityName,
  2. required QueryAction action,
  3. List<Constraint> where = const [],
  4. int? limit,
  5. JSON payload = const {},
})

Create a Query that can be executed by a DatabaseAdapter

Implementation

Query({
  required this.entityName,
  required this.action,
  this.where = const [],
  this.limit,
  this.payload = const {},
});