StatementPreview class
Preview of a statement produced by a plan compiler.
Constructors
-
StatementPreview({required StatementPayload payload, List<
List< ? parameterSets, String? resolvedText})Object?> > -
const
Properties
- hasBatches → bool
-
Whether the preview represents multiple executions of the same statement.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- normalized → NormalizedPreview
-
Normalized metadata shared across drivers.
no setter
-
parameters
→ List<
Object?> -
Bindings associated with sql. Empty for non-SQL statements.
no setter
-
parameterSets
→ List<
List< Object?> > -
Additional parameter batches.
no setter
- payload → StatementPayload
-
final
- resolvedText → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql → String
-
SQL -- or command text -- used for backwards compatibility.
no setter
- sqlWithBindings → String
-
The final representation shown in logs, including resolved bindings if provided.
no setter
Methods
-
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