I'm using mysql-5.1.15, sqlalchemy-0.4.2, mysql-python-1.2.2.

In SA-0.3, the docs read:

"When Tables are reflected from the database using autoload=True, any
DEFAULT values set on the columns will be reflected in the Table
object as PassiveDefault instances."

This is not indicated behavior for 0.4.  Is there any way to reproduce
this behavior short of manually transcribing each defaulting Column
into my Table definitions with PassiveDefault() as below?

Table('sometable', somemetadata,
    Column('DefaultsToFoo', Unicode, PassiveDefault('Foo')),
    autoload=True)

TIA,

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to