Hi, I have a basic question. Could I relate an ite...
# help
v
Hi, I have a basic question. Could I relate an item in a table to different type? For example, item 1's parent is a item from the table A, item 2's parent is an item from the table B.
n
Hello @vinciarts! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
o
Hi You mean link some columns to specific tables? @vinciarts
n
vinciarts (2022-05-15)
v
Yes!
I want do this because, I'm making a feature that allows many users editing many Arrays (atcually, it's a big tree) in realtime/offline. I use parentId + index for each array item for now. Does Supabase have better solutions for this?
o
Alright, so to link a column with another column, you need to use a ``REFERENCE``, using the id from the table you want to link. To do that, you can simply go in the Supabase dashboard, and select the id from the table you want to link @vinciarts
v
Thank you!