Hi, what is the best way to model a tree that can ...
# orm-help
l
Hi, what is the best way to model a tree that can contain groups and items? Limitation: items may not have children.
It should be possible to have this kind of structure. 1 Group 1.1 Item 1.2 Group 1.2.1 Item 1.2.2 Group 2 Item
a
DOM is one, maybe check into the type.
l
Thank you. I know how such a tree should look like, that's not the problem. The problem is, that for some reason a relation to an interface is not allowed in prisma, so i am looking for another way to achieve this.
anyone an idea?