Welcome Guest, Not a member yet? Register   Sign In
DataMapper ORM: Saving ids on relationship table
#2

[eluser]WanWizard[/eluser]
You'll have to delete them.

Datamapper doesn't know what relations are already present with this code, nor what you indent to do with them.

This code only creates or updates the relation between the employee and the services listed in service->all, it doesn't delete anything. You'll have to do that yourself.


Messages In This Thread
DataMapper ORM: Saving ids on relationship table - by El Forum - 10-16-2012, 05:03 AM
DataMapper ORM: Saving ids on relationship table - by El Forum - 10-16-2012, 06:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB