I would like to access last row of any database table in a general way,
do I have to first count all the rows, then access the last row?
This is effectively 2 qureies. Is there a way to do the job in one single
query?
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book
For debugging, you may copy logging.conf from
web2py/examples/logging.example.conf, and use python logger inside your
code. The logs goes into web2py/logs/xxx.log, where xxx is configurable.
On Friday, November 28, 2014 11:42:32 AM UTC+1, Research Kamal wrote:
Hi to all,
I have an web2py
On Sunday, December 7, 2014 5:04:39 PM UTC+1, Massimo Di Pierro wrote:
this should work:
routes_in = { /(?Pname[\w+]+\-[\w-]+)':'/app/default/r/$name' }
what format is this? parameter-based?
On Sunday, 7 December 2014 03:32:45 UTC-6, Encompass solutions wrote:
I want to have a URL
Hi all,
I am debugging my routes.py and looking into gluon/main.py
I enable the logging.conf file, and the corresponding session:
[logger_web2py]
level=DEBUG
I set default_application in routes.py, what I want is when
http://myhost.net/
is visited, the url is automatically expanded to
http://myhost.net/myapp
in the browser address bar. Is it possible?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
will see
one dummy_db. when a request is made to dummy_db.table_one , the
request will be wired to the real DAL object.
I am not sure how I should proceed, any idea to share?
Thanks,
chuan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
6 matches
Mail list logo