0

I am creating a application in node and sequelize, i run the function that generate the query like below

SELECT `id`, `product_title`, `product_size`, `product_author`, `description`, `product_category`, `createdAt`, `updatedAt` FROM `products` AS `products` WHERE `products`.`product_category` LIKE ANY ('%Shirts%', '%Jeans%', '%Pents%')

But it gives me syntax error, what is going wrong in this query, because i never use this query before.

Please help me to find the error.

0 Answers0