jrpfinch schrieb:
>> Hmmm, you might also try changing:
>>
>> ne_ems_id = ForeignKey("Ems_live")
>>
>> to:
>>
>> ne_ems = ForeignKey("Ems_live")
>>
> 
> Unfortunately I can't change ne_ems_id to ne_ems because I have not
> control over the structure of the underlying database

No, that doesn't mean that the column name in the underlying database 
will be 'ne_ems'. SQLObject will build the right column name with some 
name-mangling magic automatically. Just try it out.

For details please read the SQLAlchemy docs. There are also ways to 
influence how this name-mangling actually works, but again, you have to 
check the SO docs for that.

Then again, if you need full control over the column names in the 
database, SQLAlchemy will probably work better for you.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to