NotInQuery class

Query to check if a field's value does not exist within a list of values.

The logical negation of InQuery.

Implemented types
Available extensions
Annotations
  • @immutable

Constructors

NotInQuery(String field, List values)
Creates a NotInQuery for the given field and values.
const

Properties

field → String
The field name to compare.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → List
The list of values that the field should not match.
final

Methods

executeWithCache(QueryCache<T> cache, Future<List<T>> executeQuery(), {Duration? ttl}) → Future<List<T>>

Available on IQuery, provided by the QueryCachingExtension extension

Executes the query with caching support.
matches(Map<String, dynamic> data) → bool
Determines if the given data map matches the query criteria.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Serializes the query to a map for persistence or network transfer.
override
toString() → String
A string representation of this object.
inherited

Operators

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