CompiledMutation class

Represents a compiled mutation that may include additional relation operations.

Used when a CREATE or UPDATE query includes connect or disconnect operations for many-to-many relations. The main query is the primary INSERT/UPDATE, and relationMutations contains the junction table INSERT/DELETE statements.

Constructors

CompiledMutation({required SqlQuery mainQuery, List<SqlQuery> relationMutations = const []})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasRelationMutations → bool
Whether this mutation has additional relation operations
no setter
mainQuery → SqlQuery
The primary INSERT or UPDATE query
final
relationMutations → List<SqlQuery>
Additional queries for junction table operations (connect/disconnect)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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