QueryMixin<InstanceType extends ManagedObject> mixin

Implemented types

Properties

canModifyAllInstances bool
Confirms that a query has no predicate before executing it.
getter/setter pairoverride
context ManagedContext
The ManagedContext this query will be executed on.
no setterinherited
entity ManagedEntity
The ManagedEntity of the InstanceType.
no setterinherited
expressions List<QueryExpression>
getter/setter pair
fetchLimit int
Limits the number of objects returned from the Query.
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
offset int
Offsets the rows returned.
getter/setter pairoverride
pageDescriptor ↔ QueryPage?
getter/setter pair
predicate QueryPredicate?
A predicate for filtering the result or operation set.
getter/setter pairoverride
propertiesToFetch List<KeyPath>
no setter
reduce QueryReduceOperation<InstanceType>
Returns a new object that can execute functions like sum, average, maximum, etc.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortDescriptors List<QuerySortDescriptor>
final
sortPredicate QuerySortPredicate?
A predicate for sorting the result.
getter/setter pairoverride
subQueries Map<ManagedRelationshipDescription, Query<ManagedObject>>
final
timeoutInSeconds int
Number of seconds before a Query times out.
getter/setter pairoverride
valueMap Map<String, dynamic>?
Values to be used when inserting or updating an object.
getter/setter pairoverride
values ↔ InstanceType
Values to be sent to database during an update or insert query.
getter/setter pairoverride

Methods

delete() Future<int>
Deletes InstanceTypes from the underlying database.
inherited
fetch() Future<List<InstanceType>>
Fetches InstanceTypes from the database.
inherited
fetchOne() Future<InstanceType?>
Fetches a single InstanceType from the database.
inherited
insert() Future<InstanceType>
Inserts an InstanceType into the underlying database.
inherited
insertMany(List<InstanceType> objects) Future<List<InstanceType>>
Inserts an InstanceTypes into the underlying database.
inherited
join<T extends ManagedObject>({T? object(InstanceType x)?, ManagedSet<T>? set(InstanceType x)?}) Query<T>
Configures this instance to fetch a relationship property identified by object or set.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageBy<T>(T propertyIdentifier(InstanceType x), QuerySortOrder order, {T? boundingValue}) → void
Configures this instance to fetch a section of a larger result set.
override
returningProperties(List propertyIdentifiers(InstanceType x)) → void
Configures the list of properties to be fetched for InstanceType.
override
sortBy<T>(T propertyIdentifier(InstanceType x), QuerySortOrder order) → void
Configures this instance to sort its results by some property and order.
override
toString() String
A string representation of this object.
inherited
update() Future<List<InstanceType>>
Updates InstanceTypes in the underlying database.
inherited
updateOne() Future<InstanceType?>
Updates an InstanceType in the underlying database.
inherited
validateInput(Validating op) → void
where<T>(T propertyIdentifier(InstanceType x)) QueryExpression<T, InstanceType>
Selects a property from the object being queried to add a filtering expression.
override

Operators

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