Hi,

I have the following column_property definition

    time = Column(DateTime, nullable=False)
    end_time = column_property(
        select([Event.duration + time]).where(Event.id==event_id)
    )

where Event.duration stands for minutes and is an Integer, while time is a
DateTime
clearly, the select statement is not what I would like to have, but
something casted
is there a way to define end_time properly with these two arguments?

Viktor

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