Hi Rahul,

> Of course, you could omit the db.issues.date_today <= request.now if you 
know for a fact there are no time travelers opening tickets in the future.

:-)

What Derek means, if db.issues.date_today is the date the issues was 
created, than you can leave db.issues.date_today <= today out, because 
there won't be any issues in the database where db.issues.date_today > today

> You are passing rows/records where you are supposed to pass a query.

What Massimo means, you should pass db(db.issues.date_today >= sevendays) 
so, without .select()


I hope these remarks help you solve the issue.

Annet

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to