Hi,

I have a table 'my_log' with a created_at column of type timestamp with 
time zone;

class Log(Base):
    __tablename__ = "my_log"
      ....
      created_at = Column(DateTime(timezone=True), nullable=False,
                        server_default=func.now())


I would like to query Log and have created_at append: at time zone 
'<timezone>'  without going through many hoops.


Any thoughts of implementing it cleanly?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/245CZe0qjvYJ.
To post to this group, send email to [email protected].
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