Posts by Diogo Martins • 121 points
1 post
-
2
votes1
answer291
viewsA: How to build a Web2py query by quantifying the difference between days
Isvaldo, I think what you want comes down to the following: resultado = db( (db.base_suporte.dt_solicitacao - db.base_suporte.dt_fechamento) >5 ).select(db.base_suporte.dt_solicitacao,…