
Please can anyone help with the format by which --queries
arguments are constructed with appwrite cli would be greatly appreciated. The only hint I found while searching is this issue https://github.com/appwrite/appwrite/issues/2875 but it following the example didn't work . Keep getting the following error when I tried emulating the example from the issue.
appwrite users list --queries="query.equal('phone','+123456789')"
Error Invalid queries
param: Invalid query: Invalid query method

Can you try:
appwrite users list --queries "equal('phone','+123456789')"

It worked! As a follow up question can the fields returned from the queries be filtered? As always, thank you @Steven

I'm marking this post as solved since the original question has been answered

[SOLVED] How to build queries with appwrite cli

Yes, use the select query: https://appwrite.io/docs/apis/rest#queries

Noted, thank you
Recommended threads
- Check User on Server SDK
I have my backend which exposes some endpoints let's say /feed (return a hard coded json as response) I want this to be only accessible to users who are curre...
- No mails from Appwrite
Hello, Since severals days, i have a problem : i d'ont received any mails from Appwrite. I'm using the auth by mail and i don't any code so any mails from App...
- Constant 404 Pages
Whenever I am navigating through items and pages to go through my collections and database I end up at a page that sends me a 404 error, if i refresh it remains...
