linq2js / linq2fire

Supports special operators: IN, NOT IN, OR, !=, startsWith (^=), array-contains (has) and many more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple in operators

phuongpt opened this issue · comments

.where({
 text: ['text 1', 'text 2'],
 word: ['word 1', 'word 2'],
})

@linq2js looks like this case is missing, it takes the last one
BTW your library is so great! Thanks!

@phuongpt thank for your feedback, let me take a look at this

@phuongpt
Could you provide your test cases, your criteria describes:
(text = 'text 1' or 'text 2') and (word = 'word 1' or word = 'word 2') , is this right ?

Yes @linq2js. That should be contain in operator.

Fixed in linq2fire@1.0.6, so close this issue