Back

how to set limit for per user, so that user can create only 3000 document in one collection

  • 0
  • Users
  • Flutter
  • Tools
new user
27 Apr, 2023, 22:43

hey, there how we can restrict per user to not create more then 3000 document inside collection

TL;DR
The user is asking how to set a limit of 3000 documents per user in one collection. There is no clear solution provided in the thread, but some suggestions are mentioned. One suggestion is to use appwrite native functionality or track the record from the server side. Another suggestion is to save the document count inside the user's preferences using a function.
Ponguta_
27 Apr, 2023, 22:46

Hello, I dont know if you can set the number somewhere.

But what about using a function to save the document count inside user prefs?

new user
27 Apr, 2023, 22:49

hey @Ponguta_ thanks, i think its a good way, but is there is any other way to achieve the same functionality, instead of tracking record like from server side

Ponguta_
27 Apr, 2023, 22:54

What will you prefer?

Like appwrite native functionality? Or something on frontend?

new user
27 Apr, 2023, 22:56

Like appwrite native functionality

Ponguta_
27 Apr, 2023, 23:02

Hmm I dont think is something like that already done, but I'm not sure. We should wait until a core member answer this. Sorry @new user 😦

new user
27 Apr, 2023, 23:30

no problem.

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