CommonPreparedStatement class abstract

A prepared statement.

Constructors

CommonPreparedStatement()

Properties

hashCode int
The hash code for this object.
no setterinherited
isExplain bool
Whether this statement is either an EXPLAIN or an EXPLAIN QUERY PLAN statement.
no setter
isReadOnly bool
Returns whether this statement makes no direct changes to the contents of the database file.
no setter
parameterCount int
Returns the amount of parameters in this prepared statement.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
The SQL statement backing this prepared statement.
no setter

Methods

dispose() → void
Disposes this statement and releases associated memory.
execute([List<Object?> parameters = const <Object>[]]) → void
Executes this statement, ignoring result rows if there are any.
executeMap(Map<String, Object?> parameters) → void
Executes this statement, ignoring result rows if there are any.
executeWith(StatementParameters parameters) → void
Executes this statement, ignoring result rows if there are any.
iterateWith(StatementParameters parameters) IteratingCursor
Starts selecting rows by running this prepared statement with the given parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets this statement to be excuted again.
select([List<Object?> parameters = const <Object>[]]) ResultSet
Selects all rows into a ResultSet.
selectCursor([List<Object?> parameters = const <Object>[]]) IteratingCursor
Starts selecting rows by running this prepared statement with the given parameters.
selectMap(Map<String, Object?> parameters) ResultSet
Selects all rows into a ResultSet.
selectWith(StatementParameters parameters) ResultSet
Selects all rows into a ResultSet.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited