
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
- How do you strategically secure day's wo...
I worked entire day to try and solve how to use clerk such that it handles checking user's authentication purely server-side. I wasted entire day on a loop of a...
- `access_denied_to_user` - push new branc...
Why pushig new branch is not allowed? ``` git push origin fix-no_issue_id-fix_variable_name remote: {"auth_status":"access_denied_to_user","body":"Permission t...
- Does appwrite have any alternative solut...
Hi Everyone, ... I am looking for a solution for AWS ECS Fargate in appwrite. Can anyone let me know if this is possible?
