Greeting wonderful people <3,
I am using query equal and orderDesc, and evertime I am getting server error. I've already added indexes.
fyi: equal matches userID present in each document as an attribute
other posts suggesting assigning index to attributes which I have already done and no luck.
my code:
const userID = user?.$id;
const response = await db.events.list([Query.equal("userID", userID)]);
please see both picutres attached.
any help would be appreciated.
thank you
What SDK version?
@Evdog sorry is it different from appwrite version? as I have no idea, its my first project with appwrite is there a way to check?
in cli by runing appwrite -v I got 5.05 in package.json appwrite ^15.0.0
@Evdog this is what I could find by visiting /versions on my self-hosted site
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...