paint-brush
How to paginate records in MySQL using Sequelize and Nodejsby@amanhimself
29,505 reads
29,505 reads

How to paginate records in MySQL using Sequelize and Nodejs

by Aman Mittal2mJune 20th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Often at times, I find my self struggling with Sequelize to find a direct answer for my query. Recently, I have been working on a fullstack application in which there was a basic requirement of paginating results from backend (REST API) to the frontend. I struggled for two reasons. Firstly, coming from NoSQL background it’s hard to grasp SQL DBs. Second reason being is Sequelize documentation does not provide a clear and direct solution to this very basic abstraction. Lot of people assume things in the world of SQL databases.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to paginate records in MySQL using Sequelize and Nodejs
Aman Mittal HackerNoon profile picture
Aman Mittal

Aman Mittal

@amanhimself

Developer, Tech Writer | React Native & Expo enthusiast | Personal blog: amanhimself.dev

Learn More
LEARN MORE ABOUT @AMANHIMSELF'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Aman Mittal HackerNoon profile picture
Aman Mittal@amanhimself
Developer, Tech Writer | React Native & Expo enthusiast | Personal blog: amanhimself.dev

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite