I have a query below and need to combine the 2nd and 3rd .compare condition with \'AND\' operator
var query = ii.join(InvoiceItem#PolicyPeriod) .compare(P