In-Table Foreign Keys in DataMapper ORM |
[eluser]tarciozemel[/eluser]
Thank you for your reply! The problem is: the DB people already sent me the entire database, now I have no choice... Besides, the DB not uses a third table in 1:N relationships. Thats it. =/ In my example, I use "user_group" because I followed the Attributes Table instructions (and yes, my classes ares "User_model" and "User_group_model"). Code: var $has_one = array( The "class" isn't for that? I'm a little confused... Regards! |
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
|