Relative Content

Tag Archive for mysqlnode.jsdatabasesequelize.jssequelize-cli

Getting error in fetching data with Sequelize for Mysql Database (Backend Node.js)

I am using Sequelize ORM with mysql database for nodejs application. Somewhere I am stuck with one api whose job is just to show list based on the queryparam values. Issue is when I am not applying the pagination i.e. url is like “{{url}}/tasks?pagesize=&page=&start=2024-04-01&end=2024-05-13&task_status_id=&priority_id=&search=Dummy” with pagesize and page as empty string then “search” functionality is working fine. But when I add pagesize=10 and size=1 then it is throwing error. Error is as shown below.