Skip to main content

append_to_query

Function append_to_query 

Source
pub fn append_to_query<C: Conventions>(input: TokenStream) -> TokenStream
Expand description

#[derive(AppendToQuery)]: the append to query trait on a wrapper of a domain query model.

#[append_to_query(columns = Entity, filters = Wrapper)] names the entity (deriving Columns) whose columns store the query’s domain fields, and the wrapper building its WHERE clause.

Attributes: append_to_query (columns, filters).