await database.listDocuments(
databaseId: dbId,
collectionId: collId,
queries: [
Query.orderDesc("\$id"),
Query.equal("categories", [categoryId]),
],
);
I have added relationship with category collection and productscollection and now I want to get the list of products of specified category only!
Result: AppwriteException: general_unknown, Server Error (500)
Querying is currently not available in the beta version of Appwrite Relationships but will be added in a later version.
is there any alternative then?
For now?
Only in mimicked relationships
🥱🥴 I'll have to rewrite all the tables now 😦
😕 doesn't sound like fun
should have used other platforms for client's project! I'm tight on deadline
For now to be able to finish the project You can iterate over all the products and add the categories to a new search attribute sepreate with space
Recommended threads
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...
- Does 1.9.0 Self Hosted have MongoDB Atla...
I have been playing with the new 1.9.0 update and I am really excited for the MongoDB support. I wanted to ask though if at the current time Appwrite supports b...