Mexec
Bun

method

sqlite.Database.exec

exec<ParamsType extends SQLQueryBindings[]>(
sql: string,
...bindings: ParamsType[]

This is an alias of Database.run

Referenced types

interface Changes

An object representing the changes made to the database since the last run or exec call.

  • changes: number

    The number of rows changed by the last run or exec call.

  • lastInsertRowid: number | bigint

    If safeIntegers is true, this is a bigint. Otherwise, it is a number.