PreparedStatement class
Wrapper for prepared statement operations.
Provides convenient methods to execute prepared statements with parameters and close them when done.
Example:
final stmt = PreparedStatement(backend, stmtId);
final result = stmt.execute([ParamValueString('value')]);
stmt.close();
Constructors
- PreparedStatement(OdbcConnectionBackend _backend, int _stmtId)
- Creates a new PreparedStatement instance.
Properties
Methods
-
close(
) → void - Closes and releases the prepared statement.
-
execute(
[List< ParamValue> ? params]) → Uint8List? - Executes the prepared statement with optional parameters.
-
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