Hello,

This may be a simple questions....

What is the correct way to:

1) Define a "time stamp" column that takes on the current "UTC" time
by default.

2) Query for records that more than 15 minutes old?


For #1, is it some thing like this?

"Column('time_stamp', DateTime, default = datetime.utcnow)"

If so, how do I attempt #2?

Thank you,
:)
--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to