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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...