Answer the question
In order to leave comments, you need to log in
How to store a tree in a database?
I'm trying to figure out how to organize the storage of connections between crosses and couplings. Link is an optical cable that can link:
Answer the question
In order to leave comments, you need to log in
objects
id | name | ident
1 | Муфта | mufta
...
links
id_object | id_child
Is there a one-to-one relationship between the `cables` and `communications` tables? Then it is better to combine them into one table.
And it is not clear, in your system, the cable can still connect the cross with the cross or is it always only the cross with a clutch?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question