//runtime/com.squareup.sqldelight.db/SqlPreparedStatement
SqlPreparedStatement
[common] interface SqlPreparedStatement
Represents a SQL statement that has been prepared by a driver to be executed.
This type is not thread safe unless otherwise specified by the driver emitting these.
Prepared statements should not be cached by client code. Drivers can implement caching by using the integer identifier passed to SqlDriver.execute or SqlDriver.executeQuery. Client code can pass the same identifier to that method to request that the prepared statement is cached.
Functions
| Name | Summary |
|---|---|
| bindBytes | [common] Content abstract fun bindBytes(index: Int, bytes: ByteArray?) More info Bind bytes to the underlying statement at index. |
| bindDouble | [common] Content abstract fun bindDouble(index: Int, double: Double?) More info Bind double to the underlying statement at index. |
| bindLong | [common] Content abstract fun bindLong(index: Int, long: Long?) More info Bind long to the underlying statement at index. |
| bindString | [common] Content abstract fun bindString(index: Int, string: String?) More info Bind string to the underlying statement at index. |
Inheritors
| Name |
|---|
| StatementParameterInterceptor |