
I'm using a many to many relationship in a collection called Classes (relationship to a collection called Teachers). I have a teacher in a particular document, but it appears empty in the document.
["teachers": AnyCodable([[]]), "$createdAt": AnyCodable("2023-10-29T17:32:35.505+00:00"), "$id": AnyCodable("1"), "description": AnyCodable("How to fix iPhones"), "title": AnyCodable("iPhone Fixing"), "$updatedAt": AnyCodable("2023-11-07T21:21:33.373+00:00"), "$collectionId": AnyCodable("1"), "students": AnyCodable([]), "$databaseId": AnyCodable("1"), "$permissions": AnyCodable(["read("team:1")", "update("team:1")"])]
I can't seem to update the document in code either. Thoughts?

Empty Relationships

perhaps the user doesn't have permissions to the related collection/documents?

Hmm odd. Just to check. I turned document security off. Added it back and now I can see it. Very strange. Thanks for the thought.

[SOLVED] Empty Relationships
Recommended threads
- Can not login with OAuth
Hello everyone i am trying to login with ios and android in react native - expo but it is not successful. And this is the code which i am using to login
- I had a new error pop up today when test...
I've been working on my app, it worked fine previously but now I recieve Invalid Origin: Register your new client as a new iOS platform on your project console ...
- Appwrite DNS & iCloud Mail Server Setup
Hello, My DNS settings are managed through Appwrite, and I would like to add a custom email address to iCloud. I have never had any issues setting this up direc...
