in appwrite cloud 1.1.2 index not found while using Query.equal("createdBy", "random") this should result in a direct query list, "why" is this considering the attribute as index?
const chatSessions = await database.listDocuments(
databaseId,
sessionCollectionId,
[Query.equal('createdBy', userId!!)]
);
console.log('Chat Sessions', chatSessions.documents);
Have you added index to createdBy attribute?
nope but my question is why :(
can't we directly query an attrib?
yup its working now thanks :)
but my question still remains the same, are the docs wrong? Or I'm understanding it in a wrong way...
The docs refereing to version 1.3.0+ in which indexes are no longer mandatory
ohhhh
thanks
Recommended threads
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...