Hi...

I'm sure I should know this but I don't.

I'd like to do a select using a timedelta.  I.e. I'd like one of the
parameters to be that it was updated in the last week.

Here's what I have so far:

  timed = timedelta(days=7)
  rrunning = list(RRun.select(AND(RRun.q.progressID == 1,
                                                  RRun.q.pingTime < timed)))

But it doesn't work.  Any idea as to how to go about this?

Thank you everyone for your continued help!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to