[storm] finding datetime through date

Eduardo Willians edujurista at gmail.com
Mon Mar 10 17:03:59 GMT 2008


How do I find data using a datetime.date object on a datetime.datetime
column type?

E.g.:
<code>

date = datetime.date.today( )

result = store.find(Op, Op.date_time == date)
# raises an excetion because (of course) Op.date_time is datetime.datetime type
# "like" method doens't work either

</code>

Sorry if it is a obvious question.

Eduardo Willians



More information about the storm mailing list