Why doesn't Query.select work on users.list() from node-appwrite? It isn't mentioned in the documentation that it should not. If i do the request without Query it returns me a full list but with it just undefined.
TypeScript
async function listUsers() {
try {
return await users.list([Query.select(["$id", "name", "email", "prefs"])]);
} catch (e) {
error_handler.setError((e as Error).message);
}
}```
TL;DR
Developers are facing an issue with Query.select not working on users.list() from node-appwrite. The request returns undefined when Query is used. No solution was provided in the thread.Recommended threads
- Rate límit reset
I've made an error in the code by not setting a limit on how much rows should i get per request because i was working with a small db for testing. Last night Iv...
- How to set permissions using the createO...
Hi, I'm trying to create a set of registers in a table using the tableDB.createOperations function, but it seems like it doesnt support/expect the usage of the ...
- Appwrite not sending Emails
I’m running a self-hosted Appwrite instance (v1.8.1) and I can’t get invite emails to send when using the team invite flow described in the docs: https://appwri...