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
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Index for combination of columns
How am i suppposed to apply index so that combination of two columns alwasy remain unique in appwrite table though console
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...