Executor prepares, executes, or queries a SQL statement.

Hierarchy

  • Executor

Indexable

[key: string]: any

Methods

  • Prepare creates a prepared statement

    Parameters

    • query: string

    Returns Stmt

  • Query queries a SQL statement

    Parameters

    • query: string
    • Rest ...args: {}[]

    Returns sql.Rows

Generated using TypeDoc