I want use IN query which will check in multiple object. Like I have list of ids [1,2,3,4,5], I want to check [1,2,3,4,5].in[5] then I should return me one row.
In your Appwrite database? Or you wanna check array includes some object in flutter?
I have Appwrite database and in database I have attribute which take array type argument.
I'm afraid you'll have to do in the flutter side, something like this.
final list = [1,2,3,4];
final item = list.contains(2) ? list[list.indexOf(2)] : 0;
You might want to 👍 and join in on this conversation: https://github.com/appwrite/appwrite/issues/2838
Recommended threads
- Guidance to safely upgrade Appwrite to l...
One of my old Flutter projects runs on a DO self-hosted Appwrite. Currently it's on appwrite: ^15.0.2 dart_appwrite: ^15.0.0 The app is live on the Play Stor...
- Excessive usage of cloud functions is sl...
I have made almost all my requests through cloud functions and jwt , due to security fears of a user editing a field he is not supposed to . This unfortunately...
- Help