thanks much ! shawn
On 8/11/07, Christopher Armstrong <[EMAIL PROTECTED]> wrote: > > On 8/11/07, shawn bright <[EMAIL PROTECTED]> wrote: > > lo there all, > > > > is there a way i can use find where `date_time` between '2007-07-21 > > 01:23:25' and '2007-07-24 01:23:25' ? > > > > how would i construct that ? > > > > like > > sensor_hit = store.find(SensorHit, ..... don't know what to put here > > Probably something like > > store.find(SensorHit, > SensorHit.date_time > '2007-07-21 01:23:25', > SensorHit.date_time < '2007-07-24 01:23:25') > > You can also use <= and >= if you want an inclusive range. > > -- > Christopher Armstrong > International Man of Twistery > http://radix.twistedmatrix.com/ > http://twistedmatrix.com/ > http://canonical.com/ > >
-- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
