
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
- Still getting ServiceContextModule linke...
Hey team - I'm still getting ServiceContextModule linker errors even after updating to SDK 13.2.2. Error: - Undefined symbol: static ServiceContextModule.Servi...
- Swift SDK 13.2.1: Missing AppwriteEnums ...
## Issue Build fails with error: `Unable to find module dependency: 'AppwriteEnums'` ## Environment - **SDK Version:** 13.2.1 (swift-for-apple) - **Xcode:** 16...
- sdk-for-apple v.10.2.0 produces errors
I am trying to get the Apple SDK v10.2.0 to work on my tvOS project. I previously used v6.0.0 but decided to update. When I update the dependencies, the build f...
