[Error] Method: GET
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
[Error] Type: PDOException
[Error] Message: Unknown column 'table_main.assignedToCategories' in 'field list'
[Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
[Error] Line: 62
select([\"$id\",\"zdayId\",\"$permissions\",\"assignedToCategories.*\"])
assignedToCategories is relationship
Relationship do not support queries at this moment 🥹
similar query works for different collections
As isn't officially supported I can't tell you why sometimes works and other don't, there not documentation, I have just saw this post related to Query.select(): https://discord.com/channels/564160730845151244/1096309125979320382
I don't know if that can be helpful
Error using relationship parameter name in select query
[CLOSED] Error using relationship parameter name in select query
Recommended threads
- 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...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- NEW ERROR Invalid document structure: At...
Error: ```AppwriteException: document_invalid_structure, Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400)``` I’m encounter...