toExecuteResult

fun Sqlx4kSqliteResult.toExecuteResult(sql: String): ExecuteResult(source)

SQLite keeps the last inserted rowid per connection, so it is the statement's own generated id only for an INSERT that inserted rows; otherwise it would be a previous insert's.