Skip to content

Interface: ODataBatchPartContext ​

Defined in: batch/batch-dispatch.ts:27

The $batch operation the application is currently handling (see getODataBatchPart).

Properties ​

batchRequest ​

readonly batchRequest: unknown

Defined in: batch/batch-dispatch.ts:37

The platform request of the enclosing $batch request.


changeset? ​

readonly optional changeset?: unknown

Defined in: batch/batch-dispatch.ts:42

The changeset's unit of work, set by the adapter for operations of a changeset (for the TypeORM adapter, the transaction's EntityManager; see getODataChangesetManager()).


contentId? ​

readonly optional contentId?: string

Defined in: batch/batch-dispatch.ts:33

Content-ID of the operation, if any.


inChangeset ​

readonly inChangeset: boolean

Defined in: batch/batch-dispatch.ts:35

True when the operation belongs to a changeset (an atomic group).


method ​

readonly method: string

Defined in: batch/batch-dispatch.ts:29

HTTP method of the operation, as sent in the batch.


url ​

readonly url: string

Defined in: batch/batch-dispatch.ts:31

URL of the operation, as sent in the batch (after $<Content-ID> references are resolved).