Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Statement

An SQLite prepared statement.

The methods of this class are used to bind some (possibly zero) parameters to the prepared statement and then execute the statement.

This class cannot be instantiated directly.

see

SqlValue

Hierarchy

  • Statement

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly sql

sql: string

The original SQL used to prepare this statement, including placeholders.

If the statement has been closed then a dummy string whose value should not be relied upon is returned.

This property is primarily provided for diagnostic purposes.

Methods

all

close

  • close(): undefined
  • Close prepared statement. Calling any methods on a closed statement will result in an error, with the exception of further calls to close() which will have no effect.

    Returns undefined

one

run

Generated using TypeDoc