@qualithm/arrow-flight-sql-js - v0.4.3
    Preparing search index...

    Class PreparedStatement

    A prepared statement that can be executed multiple times with different parameters.

    const stmt = await client.prepare("SELECT * FROM users WHERE id = ?")

    // Execute with parameters
    const result = await stmt.execute()
    const table = await result.collect()

    // Clean up
    await stmt.close()
    Index

    Constructors

    Accessors

    • get isClosed(): boolean

      Check if the prepared statement is closed

      Returns boolean

    • get parametersSchema(): Schema<any> | null

      Get the schema of the parameters

      Returns Schema<any> | null

    • get resultSchema(): Schema<any> | null

      Get the schema of the result set

      Returns Schema<any> | null

    Methods

    • Close the prepared statement and release server resources

      Returns Promise<void>