I'm trying to write a Sequelize.js query to find items where the column value is contained within an input string.
For example, if I had a table with a column with the values Apple, Banana, Orange
and my search term was Apple Pie
then the query would return the row for Apple
.
This seems to be possible in SQL (SQL - Query to find if a string contains part of the value in Column), but I am unsure how I would write this query with Sequelize ORM.