Class SqliteStatement

Pre-compiled SQL statement.

Hierarchy

  • SqliteStatement

Constructors

Methods

  • Binds the blob bytes to index.

    Parameters

    • index: number

      1-based index.

    • bytes: string | number[] | ArrayBuffer

      Blob value to bind.

    Returns void

  • Binds the floating point value to index.

    Parameters

    • index: number

      1-based index.

    • value: number

      Floating point value to bind.

    Returns void

  • Binds the integer value to index.

    Parameters

    • index: number

      1-based index.

    • value: number

      Integer value to bind.

    Returns void

  • Binds a null value to index.

    Parameters

    • index: number

      1-based index.

    Returns void

  • Binds the text value to index.

    Parameters

    • index: number

      1-based index.

    • value: string

      Text value to bind.

    Returns void

  • Resets internal state to allow subsequent queries.

    Returns void

  • Either starts a new query and gets the first result, or moves to the next one.

    Returns an array containing the values in the order specified by the query, or null when the last result is reached. You should call reset() at that point if you intend to use this object again.

    Returns null | any[]

Generated using TypeDoc