How to set priority for "many to many" relations

Added by samira hosseini 6 months 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 5 months 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)