Skip to Content
Skip to Content
ClassesSQLite3Statement

SQLite3Statement


Methods

run

:run(args: export type SQLite3Values = { [string]: number | string | buffer }SQLite3Valuesexport type SQLite3Values = { [string]: number | string | buffer }?): export type SQLite3Result = { last_insert_row_id: number, changes: number, }SQLite3Resultexport type SQLite3Result = { last_insert_row_id: number, changes: number, }

Parameters

  • args: SQLite3Values? - The arguments to bind to the statement.

Throws

  • SQLite3 Error
  • Memory Error

get

:get(args: export type SQLite3Values = { [string]: number | string | buffer }SQLite3Valuesexport type SQLite3Values = { [string]: number | string | buffer }?): export type SQLite3Values = { [string]: number | string | buffer }SQLite3Valuesexport type SQLite3Values = { [string]: number | string | buffer }?

Parameters

  • args: SQLite3Values? - The arguments to bind to the statement.

Throws

  • SQLite3 Error
  • Memory Error

all

:all(args: export type SQLite3Values = { [string]: number | string | buffer }SQLite3Valuesexport type SQLite3Values = { [string]: number | string | buffer }?): {export type SQLite3Values = { [string]: number | string | buffer }SQLite3Valuesexport type SQLite3Values = { [string]: number | string | buffer }}

Parameters

  • args: SQLite3Values? - The arguments to bind to the statement.

Throws

  • SQLite3 Error
  • Memory Error

finalize

Closes the statement and frees resources.

:finalize(): ()
Last updated on