Novelty. Many websites you see will have at the bottom "time took to process request, number of queries to database".
-Thadeus On Mon, Apr 5, 2010 at 2:24 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > I do not see any reason against except that I do not see any reason in > favor either. Why do you need it? > > Massimo > > On Apr 5, 2:16 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: >> Attached is a patch to allow the dal.py to keep track of query counts and >> types. >> >> Usage >> >> >>> db.qry_count() >> >> {'SELECT': 5, 'INSERT': 2, 'DELETE': 1} >> >> Massimo, do you accept? >> >> -Thadeus >> >> qry_count.hg.diff >> 1KViewDownload > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.