Skip to content

//runtime/com.squareup.sqldelight.db/SqlDriver/execute

execute

[common]
Content
abstract fun execute(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit? = null)
More info

Execute a SQL statement.

Parameters

common

identifier

An opaque, unique value that can be used to implement any driver-side caching of prepared statements. If identifier is null, a fresh statement is required.

sql

The SQL string to be executed.

parameters

The number of bindable parameters sql contains.

binders

A lambda which is called before execution to bind any parameters to the SQL statement.