Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = $this->createQuery();
- $constraint = array();
- $constraint[] = $query->contains('fieldA', $valueA);
- $constraint[] = $query->contains('fieldB', $valueB);
- How can I use this $contraint in a matching condition ????
- $query->matching($constraint) - does not work !
- $query->matching($query->logicalAnd($contraint)) - also does not work !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement