returning<R> method

BatchReturning<R> returning<R>(
  1. Selection<R> selection(
    1. F
    )
)

Prepares typed scalar projections from every inserted chunk's RETURNING.

The connected engine must support RETURNING. Relationships and aggregate or window selections are rejected before executing a chunk.

Implementation

BatchReturning<R> returning<R>(Selection<R> Function(F) selection) =>
    BatchReturning.internal(this, selection(queryFields));