SqlWithVariables class

Constructors

SqlWithVariables(String updatedSql, Set<String> foundVariables, List<String> variablesWithPosition)

Properties

foundVariables → Set<String>
All variable names that occurred in the sql specified by the user.
final
updatedSql → String
The sql, but not as it was specified by the user but instead with all variables replaced with "?" so that we can use prepared statements.
final
variablesWithPosition → List<String>
All variable names with their position (can include duplicates if a variable is used more than once in the query). When we create the parameters for the prepared statement, the n-th value should fit to the n-th variable, so we need to keep track of the positons.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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