#Appwrite relationship
3 messages · Page 1 of 1 (latest)
What's Likely Going Wrong
Collections not in the same database
Related collections must be in the same database. If your Patient and Doctor collections are in a different database than the one you're trying to link from, they won’t show up.
Collections not yet created or not saved
If you haven't saved the Patient or Doctor collections yet (i.e., they are newly created and not committed), Appwrite won’t list them as options.
You’re in the wrong environment/project
Make sure you’re in the correct project and environment (like dev or prod). If you're in a different one, your collections won’t appear.
Incorrect permissions or session
Sometimes, if you're not logged in properly or lack permissions, Appwrite might not fetch collections. Try refreshing the session or checking permissions.
Hey Grace. I appreciate taking your time to answer my query. I just logged out for a full day and it was working fine afterwards, so definitely something was wrong with that session