Interface IStatement

Hierarchy

  • IStatement

Methods

  • Runs the SQL statement, returning an array of objects with the name of the columns and matching values.

    Parameters

    • Rest ...args: any[]

      The bound parameters for the statement.

    Returns any[]

  • Free all resources associated with this statement. No other function can be called on it afterwards.

    Returns void

  • Runs the SQL statement, ignoring the result. This is commonly used for CREATE, INSERT and statement of that sort.

    Parameters

    • Rest ...args: any[]

      The bound parameters for the statement.

    Returns void

  • Stringify the statement by expanding the SQL query.

    Returns string

Generated using TypeDoc