Hello. I write my app in Java and need to delete specific value from documents. But I don't know how to list documents and find only documents with this value. In this collection, I have attribute List<String> with values. I need to find ONLY documents that List<String> contains my value. How to do that with Queries?
Aswerugad, I was just thinking about this same thing like 4 hours ago. Nothing of such in the Query docs.
Appwrite doesn't support queries on array attributes at the moment. You might want to π this issue https://github.com/appwrite/appwrite/issues/2838.
A hack right now if you have an array of words is to make a search index and use the search query.
Recommended threads
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...