ConditionNOT<O> class

The negation of a condition: !(condition) or !key op value.

The complement of the condition: matches exactly the entities that the condition doesn't, including those with a null field (or without a related entity) where the condition is unknown. Through a to-many relationship it matches the entities without any matching related one: !(roles.type == "admin") matches the users without an admin role.

Inheritance

Constructors

ConditionNOT(Condition condition)

Properties

condition → Condition
The negated condition.
final
hashCode → int
The hash code for this object.
no setterinherited
isIDCondition → bool
no setteroverride
isInner → bool
A NOT is encoded apart from its parent (a subquery or its own group), so its condition starts again with inner joins.
no setteroverride
parameters → List<ConditionParameter>
no setterinherited
parent → Condition?
no setterinherited
resolved → bool
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cast<T>() → ConditionNOT<T>
override
encode() → String
override
equalsConditionValue(Object? value1, Object? value2, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, TypeInfo? keyType, EntityHandler? keyEntityHandler}) → bool
inherited
getField(O o, String key, {EntityHandler<O>? entityHandler}) → dynamic
inherited
getID(O o, {EntityHandler<O>? entityHandler}) → dynamic
inherited
greaterThanConditionValue(Object? value1, Object? value2, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, TypeInfo? keyType, EntityHandler? keyEntityHandler}) → bool
If value1 > value2 (see _orderingConditionValue).
inherited
greaterThanOrEqualConditionValue(Object? value1, Object? value2, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, TypeInfo? keyType, EntityHandler? keyEntityHandler}) → bool
If value1 >= value2 (see _orderingConditionValue).
inherited
inConditionValues(Object? value1, List value2, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, EntityHandler? entityHandler}) → bool
inherited
lessThanConditionValue(Object? value1, Object? value2, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, TypeInfo? keyType, EntityHandler? keyEntityHandler}) → bool
If value1 < value2 (see _orderingConditionValue).
inherited
lessThanOrEqualConditionValue(Object? value1, Object? value2, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, TypeInfo? keyType, EntityHandler? keyEntityHandler}) → bool
If value1 <= value2 (see _orderingConditionValue).
inherited
matchesEntity(O o, {EntityHandler<O>? entityHandler, Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters}) → bool
override
matchesEntityMap(Map<String, dynamic> o, {EntityHandler<O>? entityHandler, Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters}) → bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve({Condition? parent, required List<ConditionParameter> parameters}) → void
override
setField(O o, String key, Object? value, {EntityHandler<O>? entityHandler, EntityCache? entityCache}) → void
inherited
setID(O o, Object id, {EntityHandler<O>? entityHandler}) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

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