Skip to main content

trailer_with

Function trailer_with 

Source
pub fn trailer_with(
    state: &StreamState,
    surface: &AgentSurface,
    target: Option<Map<String, Value>>,
    value: Value,
) -> Value
Expand description

Annotates the trailer with the one record for the whole stream.

Deliberately does NOT project, filter or cap. The summary line is the stream describing itself; a --select aimed at the records has no business either failing on it or rewriting it, and both of those were measured defects.