On Jun 22, 2007, at 8:42 AM, Gloria wrote:
> > Hi all, > I have a Postgresql 8.2.4 table where more than one field auto- > increments. It looks like I need Passive defaults. Can someone show me > how to add passive defaults to an existing db schema, where > autoload=True. The doc glosses over this, and I can't pin down the > syntax. > Thank you, > Gloria http://www.sqlalchemy.org/docs/ metadata.html#metadata_tables_reflecting_overriding illustrates how to place explicit Column objects in a Table, while also specifying "autoload=True". the table will be fully autoloaded, then the columns you've specified should override. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
