On 10/15/2010 5:30 PM, Michael Hipp wrote:
If I have a column defined like this:
qty = Column(Numeric, nullable=False, default=Decimal('1'))
When is the default applied? At commit()?
Nevermind. Finally found it in the docs, appears it happens at INSERT time.
Thanks,
Michael
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.