select_exclude

Function select_exclude 

Source
pub fn select_exclude(fields: impl Into<FieldNames>, child: ExprRef) -> ExprRef
Expand description

Creates an expression that excludes specific fields from an array.

Projects all fields except the specified ones from the input struct expression.

let expr = select_exclude(["internal_id", "metadata"], root());