I want filter the list of documents based on a attribute value in server side( in appwrite function using node sdk). Query class is not supported in node sdk. How can do this?
TL;DR
The user is asking for help on how to filter a list of documents based on an attribute value in an appwrite function using the node SDK. They are wondering if the `Query` class works but it is not supported in the node SDK. A solution is not provided in the thread.It is, why not?
Use it like so
TypeScript
const sdk = require("node-appwrite");
sdk.Query.equal('attrbiute', value)
const { Query } = require('node-appwrite'); is this works
Also, sppouse to, yes.
OK. I will try. Thanks
Did you solve your problem?
Recommended threads
- Server Down
Appwrite services are down. When will they start working again?
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...