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
- 500 Internal Error when Project is opene...
After migrating from 1.6.1 to 1.7.4 I noticed this strange behaviour: When I open a project in a separate tab I get a 500 internal error. However, then I simpl...
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...