-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
maybe a simple question, but I cannot make it work. Example:
from(article).where( "customerNr", eq(custno) )
.and ("articlenumber_intern", startsWith(searchTerm))
.or ("articlenumber_extern", startsWith(searchTerm))
.all()that way, coolection will only return items that are matched by "articlenumber_intern", ignoring the "or" criteria.
Oh, btw, as you can see I added a "startsWith" critera because the contains function wasn't sufficient for me. I would like to suggest to add it in your coolection lib, as this seems to be a common requirement when working with lists.
Thanks for your wonderful little helper, coolection rocks
!
Metadata
Metadata
Assignees
Labels
No labels