Skip to content
Advertisement

Sequalize js how to make multiple like condition with OR operation

I have an array of words which I want to search into a database with Sequalize ['orange', 'apple', 'apricot']

How can I achieve a query like this

with Sequalize ?

Advertisement

Answer

Something like this:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement