Welcome Guest, Not a member yet? Register   Sign In
datamapper update add remove problem
#1

[eluser]cloude[/eluser]
YO

I have tried a few things i've found
but cant seem to get it to work

i have 2 tables with many to many

asd:
id asd_value
1 str
2 str2

dsa:
id dsa_value
1 rts
2 rts2

asd_dsa:
id asd_id dsa_id


the values in asd and dsa should already be able to exist
and i want to add and remove relations in asd_dsa


i dont want to create a class
Asd_dsa
with var $has_one = array('asd', 'dsa');
while Asd and Dsa
var $has_many = array('asd_dsa');

(was finally allowed to edit the title)


Messages In This Thread
datamapper update add remove problem - by El Forum - 10-06-2012, 04:54 PM
datamapper update add remove problem - by El Forum - 10-07-2012, 06:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB