usePrepared

abstract suspend fun <R> usePrepared(sql: String, block: (SQLiteStatement) -> R): R(source)

Prepares sql as statement and runs block with it.

Block most only run on a single-thread. The statement must not be used once block returns.