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
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...