Back

How to remove the registration limit

  • 0
  • Databases
MH7
16 Oct, 2023, 15:27

Hi, How can I remove the limit from a database query?

Query.limit(1000);

What I need is to bring me all the records that the user has.

TL;DR
To remove the registration limit in Appwrite, you can use pagination. Instead of adding a limit to the query, you can implement cursor pagination to retrieve all the records that the user has. This allows you to fetch data in smaller chunks and continue fetching until you have retrieved all the desired records.
Binyamin
16 Oct, 2023, 15:29

From version 1.3+ you can go upto 5K In self-hosted you can tweak it by editing the Appwrite image (advance) But in general it will be best to use Pagination

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more