CGUC / skybunk-server

The back-end application for Conrad Grebel University College students to stay connected
3 stars 9 forks source link

Paginate by date rather than using "skip & limit" #55

Open picklechips opened 6 years ago

picklechips commented 6 years ago

We can respond faster by filtering the data by "createdAt after ". If there's not enough data in that selection then include the selection one cycle longer ago in it.

Too lazy too explain better - talk to Ryan for questions