Hi Guys.
I was following this Example:
http://rtfm.modx.com/display/xPDO20/More+Examples+of+xPDO+XML+Schema+Files
to reproduce the many to many example.
I couldn’t find an example of addOne and addMany. So apparently it doesn’t automatically populate the "intersection" table with the id’s of the given insert.
I am trying to make a simple n:m relationship.
So with the above provided code I can obviously create the relation manually. But I just thought this is done automaticly.
So why then to I set all these relations between each table in the schema.xml? Only for the getting purpose?
Maybe someone can clarify this a bit for me or provide a link for further reading on n:m and 1:n relations with xpdo.
Thanks you very much
Cheers Ragnar
This is my first post in this forum and I just want to mention that I am a huge fan of modx! Great work guys