
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
- Is Appwrite Pro available for teachers?
Hi everyone 👋 I noticed that Appwrite Pro is available for free as part of the GitHub Student Developer Pack, which is amazing! I’m a university faculty memb...
- Change Plan Issue
Hello, I’m running at pro plan at the moment, But I want to go back and change the plan to free plan, But in my billing section my free plan is unable and I can...
- Treafik dashboard and ssl
I tried to use Appwrite as self hosted. Everything is cool, but I want to see the traefik dashboard. Is there any way to put out to a subdomain (like dashboard....
