SqlCommand class final
SQL text and separately bound values. Values are never interpolated into SQL.
Constructors
-
SqlCommand(String sql, [List<
Object?> parameters = const []]) - Creates a command without parsing SQL or opening a connection.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parameters
→ List<
Object?> -
Bound values in placeholder order; the constructor copies this list.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql → String
-
SQL text using the target driver's parameter placeholder syntax.
final
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