Mrun
Bun

method

sqlite.SQLTagStore.run

stringElements: TemplateStringsArray,
...boundParameters: SQLInputValue[]

Executes the given SQL query, which is expected to not return any rows (e.g., INSERT, UPDATE, DELETE).

Referenced types

type SQLInputValue = null | number | bigint | string | NodeJS.ArrayBufferView

interface StatementResultingChanges

  • changes: number | bigint

    The number of rows modified, inserted, or deleted by the most recently completed INSERT, UPDATE, or DELETE statement. This field is either a number or a BigInt depending on the prepared statement's configuration. This property is the result of sqlite3_changes64().

  • lastInsertRowid: number | bigint

    The most recently inserted rowid. This field is either a number or a BigInt depending on the prepared statement's configuration. This property is the result of sqlite3_last_insert_rowid().