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
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...
- Problem with getting rows from related t...
Hi, I migrated the Appwrite SDK to 1.8.0 and the package in my Flutter app to version ^20.3.2. I noticed one thing is different. Previously, when I got a JSON r...