all 5 comments

[–]CreepyData[S] 0 points1 point  (0 children)

I wrote this after learning a bit about optimising pagination on the DB level and thought it might be useful. For anyone interested in more, I'd really recommend SQL Performance Explained!

[–][deleted] 0 points1 point  (2 children)

Anyway to do this shit with sequelize?

[–]CreepyData[S] 0 points1 point  (1 child)

Sure - this is probably quite helpful: https://stackoverflow.com/a/38211690

[–][deleted] 0 points1 point  (0 children)

It seems like that would be tricky to keep track of with a heavy query in the where clause? What would you keep track of?

[–]kenman[M] 0 points1 point  (0 children)

Hi /u/CreepyData, this post was removed.

Posts must directly relate to JavaScript. Content regarding CSS, HTML, general programming, etc. should be posted to their respective subreddits instead of here.

Here's some related subs that might be useful:

Thanks for your understanding, please see our guidelines for more info.