> > just place the "primary_key=True" attribute on your Column. since > its an existing table in your oracle database, you arent creating the > table there so nothing changes.
Ah yeah. That works. Obviously I lose the foreign key relationship with account_ids which is a bit of a shame. It'd be quite useful, certainly for people like me working with large lumbersome legacy databases, if you could specify a non-primary key column to use for doing things like updates. I haven't looked too deep into the sqlalchemy code but is that something that'd be theoretically possible to code. i.e. Something similar to adding a primary_key = True attribute, maybe having a use_as_key=True attribute on some non primary key column (but preserving foreign key relations for example)? If its theoretically possible then its something I'd be willing to have a go at time permitting. Thanks Andy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" 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/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
