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
- Backup does not restore
I need to urgently restore a backup but nothing is happening when trying to restore!
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...
- proccessing problems
A database schema operation is stuck in my Frankfurt project. In the matryq database, the workspaceId attribute of the coaching_activity_entries collection rema...