Type alias WithMSSQLFunction<T>

WithMSSQLFunction<T>: (<TResult>(connection, action, options?) => Promise<TResult>)

Type Parameters

Type declaration

    • <TResult>(connection, action, options?): Promise<TResult>
    • A 'withMSSQL()' function.

      Type Parameters

      • TResult extends any = any

      Parameters

      • connection: keyof T

        The name of the known connection.

      • action: WithMSSQLAction<TResult>

        The action to invoke.

      • Optional options: Nilable<IWithMSSQLOptions>

        Additional and custom options.

      Returns Promise<TResult>

      The promise with the result of the action.

Generated using TypeDoc