qb_where

Macro qb_where 

Source
macro_rules! qb_where {
    ($item:ty, $first:ident$(.$nested:ident)*, $op:expr) => { ... };
}
Expand description

Macro to create a typed where clause for a given QuickBooks item type

ยงExample

use quick_oxibooks_sql::{qb_where, Operator, TypedWhereClause};
use quickbooks_types::Customer;

let clause: TypedWhereClause<Customer> = qb_where!(Customer, display_name, Operator::Like);