[storm] finding datetime through date

James Henstridge james at jamesh.id.au
Mon Mar 10 23:43:03 GMT 2008


On 11/03/2008, Eduardo Willians <edujurista at gmail.com> wrote:
> 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.

See the following message:

https://lists.ubuntu.com/archives/storm/2008-March/000519.html

James.



More information about the storm mailing list