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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...