Hi I'm trying to create a question app for a competitive exam I'm using appwrite in appwrite i have a Database with questions where two collection is available one is category and other is questions related to category like in category collection i have a document name UPSC with collection id of UPSC questions so i can get the all questions but now before i want to add more options under upsc list don't want to show all questions i want to show options like gk maths etc in when someone click on any option in want to show all questions related to that category like all questions in upsc maths i can create a category of upsc category then a can show category but i want to find a easy solution appwrite don't have option to add category as a attribute i can compare a string to but i just want to find a easy option anyone can help me
Can you only have a questions collection with category as a string attribute? Then, you can filter based on that attribute
Recommended threads
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...