
await database.listDocuments(
databaseId: dbId,
collectionId: collId,
queries: [
Query.orderDesc("\$id"),
Query.equal("categories", [categoryId]),
],
);
I have added relationship with category
collection and products
collection 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
- Issue in saving special character ' ╟ '...
I've created a chat application using Appwrite. However, when users try to save code that contains the character '╟', an internal server error occurs. Interesti...
- Invalid relationship value. Must be eith...
I'm getting this error when i try to update a document. The collection has a relatipship with 2 other collections. I don't understand why, when i update the doc...
- Auth issue: 401 general_unauthorized_sco...
Hello, I face a big problem with Appwrite Auth that I never face before. It's very simple, the most basic auth process just don't work ```dart final client = ...
