Skip to main content

resolve_returning_items

Function resolve_returning_items 

Source
pub fn resolve_returning_items(
    items_sql: &str,
    target: &str,
    catalog: &dyn SqlCatalog,
) -> Result<Vec<Projection>>
Expand description

Resolve a RETURNING item list against the DML target collection.

items_sql is the text after the RETURNING keyword. Every non-column item resolves to Projection::CpComputed: the Data Plane returns the base columns the expression reads and the Control Plane evaluates it per returned row.