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
- total parameter not working correctly in...
Hello Appwrite team, I'm experiencing issues with the total parameter in the listRows() method (TablesDB) across multiple SDKs. **Issue 1**: Node.js SDK (node...
- Relationship lists aren't showing
In flutter, when I perform a listRows function for my table which contains various relationships in addition to normal data, I am not getting the relationships ...
- Error with realtime channels
I'm performing a subscription to realtime channels, and after a few seconds I get an exception with this error: {\"type\":\"error\",\"data\":{\"code\":1008,\"me...