Welcome Guest, Not a member yet? Register   Sign In
In-Table Foreign Keys in DataMapper ORM
#2

[eluser]WanWizard[/eluser]
Datamapper has built-in support for ITFK's for one-to-one and one-to-many relations, it will detect and use them automatically.

Now, you're stating you're using an advanced relationship definition, which means you overrule the automatic detection because you define everything by hand.
Which is where the problem must be, but since you don't give us your schema (of the tables involved), nor the model definition, all I can do is guess.


Messages In This Thread
In-Table Foreign Keys in DataMapper ORM - by El Forum - 05-28-2011, 01:19 PM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 05-29-2011, 02:35 PM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 05-29-2011, 03:12 PM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 05-30-2011, 01:10 AM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 08-03-2011, 09:15 AM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 08-03-2011, 09:29 AM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 08-03-2011, 11:35 AM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 08-03-2011, 12:46 PM
In-Table Foreign Keys in DataMapper ORM - by El Forum - 08-04-2011, 11:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB