get_item

Function get_item 

Source
pub fn get_item(field: impl Into<FieldName>, child: Expression) -> Expression
Expand description

Creates an expression that extracts a named field from a struct expression.

Accesses the specified field from the result of the child expression.

let expr = get_item("user_id", root());