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
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...