Skip to main content

Module returning

Module returning 

Source
Expand description

Resolution of a DML RETURNING item list against the write’s target.

The clause is a projection over the target collection, so it converts through the same path a top-level SELECT list does. A bare column and a star pass through. Every other item resolves to Projection::CpComputed: the Data Plane returns the base columns the expression reads and the Control Plane evaluates it once per returned row. A sequence accessor is allowed here exactly as in a top-level SELECT list.

Functions§

resolve_returning_items
Resolve a RETURNING item list against the DML target collection.