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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...