What are some guiding principles to check whether or not a username is taken? I have a usersCollection, which stores various attributes about each user, including their username. When a new user joins our platform, I want to check if their username already exists in the collection. To do this, I need to return a list of all the username attributes for all the documents in my usersCollection, then check if the inputted username is in that list. I worry that means every user must be granted access to ever usersCollection document to construct that list in the first place.
Is this solved with a cloud function?
Recommended threads
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...