Project

General

Profile

How to set priority for "many to many" relations

Added by Anonymous about 5 years ago

Hi all,

I have already asked this question. But I want to explain it better.

I have a "many to many" relation. as we know by creating a many to many relation, a table will be created which consists of the IDs of the two sides of the relation. I need to specify a priority for my many to many relation and in other words I should specify priority for the records of the mentioned table (created for the M to M relation). How can I add my intended priority field ??

Thank you.


Replies (1)

RE: How to set priority for "many to many" relations - Added by Koen Deforche about 5 years ago

Hey Samira,

Wt::Dbo cannot does not support additional fiels on a many-to-many relations. You will need to "unwrap" the many-to-many relation and model the intermediate join table yourself using two one-to-many relations.

Koen

    (1-1/1)