Trait toql::tree::tree_predicate::TreePredicate
source · [−]pub trait TreePredicate {
fn columns<'a, I>(descendents: I) -> Result<Vec<String, Global>, ToqlError>
where
I: Iterator<Item = FieldPath<'a>>;
fn args<'a, I>(
&self,
descendents: I,
args: &mut Vec<SqlArg, Global>
) -> Result<(), ToqlError>
where
I: Iterator<Item = FieldPath<'a>> + Clone;
}
Expand description
The trait allows to build the a key predicate for nested structs.
Required Methods
Return the key column names