<div dir="ltr"><span class="Apple-style-span" style="border-collapse: collapse; ">Hi,all:<div>I make the SQLObject as the ORM in turbogears ,now I meet a problems on selecting records for a given date . Here is the define for my class:</div>
<div><div>class updateHistory(SQLObject):</div><div> actionTime = DateTimeCol(default=datetime.now)</div><div> actionContent = UnicodeCol(length=500,default="")</div><div><br></div><div>Then how can I get the records during a special time ,for example , from 2008-05-10 to 2008-09-01,</div>
<div>It will be very thankful if someone could paste some snippets for this problems.</div><div>Thanks in advance.</div></div></span></div>