oracle-helpers
    Preparing search index...

    Function mutateSql

    • Executes SQL mutate the database

      Type Parameters

      • T

      Parameters

      • configOrConnection: ConfigOrConnection

        Either a dbConfig object or the connection to execute with

      • sql: Sql

        The SQL to execute - the result of the sql template tag - Should be some sort of mutation

      • Optionaloptions: ExecuteOptions

        The oracle options for the SQL execution. options.autoCommit is set by default based on if configOrConnection is config.

      Returns Promise<Result<ToOutBinds<T>>>

      The result object for the execution

    • Executes SQL mutate the database

      Type Parameters

      • T

      Parameters

      • configOrConnection: ConfigOrConnection

        Either a dbConfig object or the connection to execute with

      • sql: string

        The SQL to execute - Should be some sort of mutation

      • Optionalparams: BindParameters

        The Parameters to pass into the SQL execution

      • Optionaloptions: ExecuteOptions

        The oracle options for the SQL execution. options.autoCommit is set by default based on if configOrConnection is config.

      Returns Promise<Result<ToOutBinds<T>>>

      The result object for the execution