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
- Help Needed: "The current user has been ...
Facing a 403 Forbidden error with the message "The current user has been blocked" while trying to log in via GitHub and Email/Password. This is happening on a ...
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...