How to get list results by query unlimit!

Hi, I have query to get full lists from my Object, but Moralis set default limit is 100 records, now when I want get 1000 records, I set by code : query.limit(1000); But I want get unlimit records, how to set this?

thanks

you always need a limit as an HTTP request cant be endlessly big
instead you need to use skip and limit to go page by page https://docs.moralis.io/moralis-server/database/queries#skip

It’s always recommended to have as small limit numbers as possible - your database will not scale otherwise if you get users

1 Like

thank for help!!!

Found lots of info in this blog thanks for sharing.

2 Likes