[sqlalchemy] default values in reflected tables

2009-07-27 Thread Jamie Bullock
, metadata, autoload=True, autoload_with=engine) mapper(Foo, foo_table) f = Foo() f.bar True Instead f.bar is None. Is there an elegant way to achieve this without querying information_schema and setting the defaults from there? Jamie --~--~-~--~~~---~--~~ You

[sqlalchemy] Re: default values in reflected tables

2009-07-27 Thread Jamie Bullock
. Is there a better way to prevent the exception? Jamie --~--~-~--~~~---~--~~ 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

[sqlalchemy] Re: Column defaults not being created with tables.

2007-01-05 Thread Jamie
Michael, Thanks for the reply (and the help). --~--~-~--~~~---~--~~ 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,