>         Column('created', DateTime, default=func.now()),
>         Column('updated', DateTime, onupdate=func.now()))
>
> You can set both default= and onupdate= on the same Column if you want
> 'updated' to be non-NULL on insert.

That sounds like a nice clean way of doing this Jason, I'm more than happy with 
that, it seems the most logical way of implementing it.

Cheers for the advice,

Heston


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