Hi everyone I try to use NOT logic in this query, and I don’t understand why it isn’t working.
{{query (and (or (property :country "AU") (property :country "au")) (not (property :service "Repair") (property :service "car repair")))}}
Hi everyone I try to use NOT logic in this query, and I don’t understand why it isn’t working.
{{query (and (or (property :country "AU") (property :country "au")) (not (property :service "Repair") (property :service "car repair")))}}
You need to separate the not out. So:
{{query (and (or (property :country "AU") (property :country "au")) (not (property :service "Repair")) (not (property :service "car repair")))}}
Which would read, it is not service Repair AND it is not service car repair.