Type alias WithPostgresAction<TResult>

WithPostgresAction<TResult>: ((context) => Promise<TResult>)

An action for a WithPostgresFunction.

Type Parameters

  • TResult extends any = any

Type declaration

    • (context): Promise<TResult>
    • Parameters

      • context: IDataContext

        The underlying data context.

      Returns Promise<TResult>

Returns

The promise with the result.

Generated using TypeDoc