AnalyzeStatementOptions class
Options to analyze a sql statement. This can be used if the type of a variable is known from the outside.
Constructors
-
AnalyzeStatementOptions({Map<
int, ResolvedType> indexedVariableTypes = const {}, Map<String, ResolvedType> namedVariableTypes = const {}, Map<String, Expression> defaultValuesForPlaceholder = const {}, TypeFromText? resolveTypeFromText}) -
const
Properties
-
defaultValuesForPlaceholder
→ Map<
String, Expression> -
Drift specific. Maps from a Dart placeholder in a query to its default
expression, if set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexedVariableTypes
→ Map<
int, ResolvedType> -
final
-
namedVariableTypes
→ Map<
String, ResolvedType> -
final
- resolveTypeFromText → TypeFromText?
-
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
-
specifiedTypeOf(
Variable variable) → ResolvedType? - Looks up the defined type for that variable.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited