AND class

A LogicalQuery: Ensures that all given queries match.

Example Filter things which are located in the "living"-room and are active:

AND(EQ('location', Val.string('living')), EQ('active', Val.bTrue()));
-> and(eq(location,"living-room"),eq(attributes/active,true))
Inheritance

Constructors

AND(RQLQuery a, RQLQuery b, {List<RQLQuery> additionalQueries = const <RQLQuery>[]})
Creates an AND operator with the given queries a, b and the optional additionalQueries.

Properties

a RQLQuery
The first comparison element.
getter/setter pairinherited
additionalQueries List<RQLQuery>
The additional queries which are compared by the operator.
getter/setter pairinherited
b RQLQuery
The second comparison element.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ↔ _LogicalOperatorType
The type of this logical operator, see _LogicalOperatorType.
getter/setter pairinherited

Methods

generateString() String
Returns the stored information in this QueryParam ready to use in a request.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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