exec

abstract fun exec(@Language(value = "sql") statement: String, vararg args: Any?)

Execute (String)

Parse, prepare, and then execute an SQL query statement with the provided args (if any), against the current SQLite database.

This method does not return a value.

Parameters

statement

SQL query to execute.

args

Arguments to bind to the statement.


abstract fun exec(statement: SQLiteStatement, vararg args: Any?)

Execute (Statement)

Execute the provided statement, preparing it if necessary, with the provided args (if any), against the current SQLite database.

This method does not return a value.

Parameters

statement

Prepared statement to execute.

args

Arguments to bind to the statement.