Frida Docs Unified
    Preparing search index...

    Class SqliteStatement

    Pre-compiled SQL statement.

    Index

    Constructors

    Properties

    columnNames: string[]

    Names of the columns in the prepared statement.

    columnTypes: SqliteColumnType[]

    Types of the columns in the prepared statement.

    declaredTypes: string[]

    Declared types of the columns as specified in the table schema. Each element is the type string (e.g. "TEXT", "INTEGER") or null if the column has no declared type (e.g. expression columns).

    paramsCount: number

    Number of SQL parameters in the prepared statement.

    Methods

    • Binds the blob bytes to index.

      Parameters

      • index: number

        1-based index.

      • bytes: string | ArrayBuffer | number[]

        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 any[]