finish pq\Query
[mdref/mdref-pq-gateway] / pq-gateway / pq / Query / Writer / criteria.md
index 0f27ae544fcfd84c1f5b18831b8ed8005a8536aa..3c89d1be3ed29593bc5d7bd792768e605a126489 100644 (file)
@@ -2,6 +2,10 @@
 
 Write nested AND/OR criteria to the query string.
 
+The criteria can either be a simple accociative array, where the keys build the left hand operand plus the operator and the values make up the right hand operand and will be passed to pq\Query\Writer::param(). All concatenated together by AND clauses.
+
+Using multiple arrays, the above logic will be applied to each array and then concatenated by OR clauses.
+
 ## Params:
 
 * array $criteria