Query class

An object containing all information about an Object that should be transfered to the Database.

Constructors

Query({required String entityName, required QueryAction action, List<Constraint> where = const [], int? limit, JSON payload = const {}})
Create a Query that can be executed by a DatabaseAdapter

Properties

action QueryAction
The action that is to be executed
final
entityName String
The name of the class that should be transfered
final
hashCode int
The hash code for this object.
no setterinherited
limit int?
On how many objects the Query should be applied
final
payload JSON
The serialized object that should be transfered
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
where List<Constraint>
A JSON object containing information on how to apply filter
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited