i want to make a filed unique for eg username in a social media app how to make this field unique in appwrite
In a given collection?
yes
Add a unqiue index to that attribute
This will make sure any value inside that attrubite will be unqiue
ok
Check Appwrite indexes types
[SOLVED] how to make an attribute unique in appwrite
Recommended threads
- Other DateTime Columns Are Saved Incorre...
When opening a row’s details from the console and editing any field, the timestamps of other DateTime columns are being automatically changed and incorrectly sa...
- GOT 500 error when going to the appwrite...
I gott 500 internal error screen and my API is timeout. please help to take a look. Traceback (most recent call last): File "D:\conda\envs\wrista\Lib\site-pa...
- Returned columns when Query.select is us...
Hello, I am noticing that whatever i put in Query.select, the returned data will always contain the following fields ` "total": 1, "rows": [ { ...