Skip to content
Back

Can Appwrite Relation reference to a unique key in other table?

  • 0
  • Cloud
parrykhai#6996
8 Oct, 2025, 06:50

I have used SQL databases. There is a concept of a foreign key, referencing another unique key in another table. I have seen that relationships are used in Appwrite. What I have understood is that the relationship references the primary key in another table. Is there a way for a column in my table to reference another unique key in another table, i.e., creating a foreign key? Thank You.

TL;DR
Developers are wondering if Appwrite's relationships can reference a unique key in another table like a foreign key in SQL databases.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more