AndOr FindBy Methods

Issue #1 resolved
Jon Elofson repo owner created an issue

Create two new methods that allow 2 attributes for searching:

findAllByAttrAndOther('attr1', 'attr2');

findAllByAttrOrOther('attr', 'attr2');

Comments (3)

  1. Jon Elofson reporter

    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

  2. Log in to comment