Skip to main content

field_path

Macro field_path 

Source
macro_rules! field_path {
    ($record:path, $member:path $(,)?) => { ... };
}
Expand description

Join two generated field-name constants for a scalar record member. For example, ic_db::field_path!(Product::PRICE, Price::AMOUNT) is a static field name accepted by scalar literal filters and row ordering.