Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

many_many question


Reply


820 Views

Avatar
zyko

Community Member, 66 Posts

21 April 2008 at 11:27pm

Edited: 21/04/2008 11:28pm

Hi dear SilverStrip Team,

I've an question abou many_many
as shown in the Project -> Module relation
in the Silverstipe Sample 'Stundent'
http://doc.silverstripe.com/doku.php?id=tutorial:5-dataobject-relationship-management

Is the additionaly 'belongs_many_many' mandatory
on the Module end of the relation?
Doest saphire need it to do all things right?
The 'table' name 'Project_Modules' comes out of the many_many, so things should be
on the way...

I'm asking because i've got situations where i don't need these 'backways'.

Will things go right (also in ComplexForms) if i don't specify the 'belongs_many_many'
on the other end?

Would be nice to have any suggestions

greetings
Helmut