On Friday 23 February 2007 10:52, Michael Bayer wrote: > PassiveDefault is used for this.
Thanks. Works perfectly. > On Feb 23, 2007, at 6:35 AM, Sean Davis wrote: > > If I have a table that generates primary keys like this (in postgres): > > > > create table ...( > > pk varchar default ('pk-'||nextval('table_seq'::regclass)::varchar), > > ..., > > primary key(pk) > > ); > > > > on the database side, how can I pass that information on to > > sqlalchemy? I am trying to autoload the tables (I have about 150 > > of them, and they are potentially somewhat mutable), but I don't > > have to. > > > > Thanks, > > Sean > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---