In-Table Foreign Keys in DataMapper ORM |
[eluser]WanWizard[/eluser]
Relations are made on model name, not on class name. The model name is set automatically on a relation, and is based on the class name. If you want to override it, use the 'other_field' parameter of the advanced relation definition. See http://datamapper.wanwizard.eu/pages/adv...tions.html |
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
|