
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
- Appwrite Function Not Updating After Dep...
I created a Node.js Appwrite function and deployed it successfully. When I accessed /ping, it returned pong as expected. Later, I cloned the function repo, edit...
- Issue in Appwrite
I created a collection and added 4 attribute then I tried to add 5th attribute and it showed: The max number of attributes for this collection has reached why? ...
- Database error
Hey there i made a collection, but i can't add more attributes. It says: `The maximun number or size of attributes for this collection had been reaced`, but its...
