PreparedStatement class abstract
A prepared statement.
- Implemented types
Constructors
Properties
-
handle
→ Pointer<
void> -
The underlying
sqlite3_stmt
pointer.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- isExplain → bool
-
Whether this statement is either an
EXPLAIN
or anEXPLAIN QUERY PLAN
statement.no setterinherited - isReadOnly → bool
-
Returns whether this statement makes no direct changes to the contents of
the database file.
no setterinherited
- parameterCount → int
-
Returns the amount of parameters in this prepared statement.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql → String
-
The SQL statement backing this prepared statement.
no setterinherited
Methods
-
dispose(
) → void -
Disposes this statement and releases associated memory.
inherited
-
execute(
[List< Object?> parameters = const <Object>[]]) → void -
Executes this statement, ignoring result rows if there are any.
inherited
-
executeMap(
Map< String, Object?> parameters) → void -
Executes this statement, ignoring result rows if there are any.
inherited
-
executeWith(
StatementParameters parameters) → void -
Executes this statement, ignoring result rows if there are any.
inherited
-
iterateWith(
StatementParameters parameters) → IteratingCursor -
Starts selecting rows by running this prepared statement with the given
parameters
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Resets this statement to be excuted again.
inherited
-
select(
[List< Object?> parameters = const <Object>[]]) → ResultSet -
Selects all rows into a ResultSet.
inherited
-
selectCursor(
[List< Object?> parameters = const <Object>[]]) → IteratingCursor -
Starts selecting rows by running this prepared statement with the given
parameters
.inherited -
selectMap(
Map< String, Object?> parameters) → ResultSet -
Selects all rows into a ResultSet.
inherited
-
selectWith(
StatementParameters parameters) → ResultSet -
Selects all rows into a ResultSet.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited