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
- Imagine bad exp
I am having very bad exp of imagine website on mobile you should guys improve it. Sorry if I shouldn't share the feedback of imagine here
- Restoring Project
Hi, I’m encountering a **“Suspicious access pattern detected”** error when attempting to restore the project. I’ve already tried connecting through different ne...
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...