AndOr FindBy Methods
Issue #1
resolved
Create two new methods that allow 2 attributes for searching:
findAllByAttrAndOther('attr1', 'attr2');
findAllByAttrOrOther('attr', 'attr2');
Comments (3)
-
reporter -
reporter working on bool searching. Refs
#1→ <<cset 602917ab0c40>>
-
reporter - changed status to resolved
Updated readme. New findby boolean methods. Fixes
#1→ <<cset 6b3b7896a66e>>
- Log in to comment
This will create a search filter something like this:
(&(attr1=blah)(attr2=foo)) (|(attr1=blah)(attr2=foo))
Anything more complex might be best for the findAll() method where you can write your own filter