DMZ 1.7.1 (DataMapper OverZealous Edition) |
[eluser]dejavu[/eluser]
[quote author="sixdimensionalarray" date="1280801917"]I have a table with a single primary integer key, but it is named "my_id", not "id" (for example). Can DataMapper be extended to support a primary integer key for a table which is NOT named "id"? It is limited for use with existing tables that do not have a field named "id" and cannot be changed because they are already core tables which are supporting an existing codebase. [/quote] I'm not sure. http://www.overzealous.com/dmz/pages/joi...join_field may do what you want, but you'll have to try it out to make sure. |
Welcome Guest, Not a member yet? Register Sign In |