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
- Backup does not restore
I need to urgently restore a backup but nothing is happening when trying to restore!
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...
- proccessing problems
A database schema operation is stuck in my Frankfurt project. In the matryq database, the workspaceId attribute of the coaching_activity_entries collection rema...