[web2py] status of gluon.contrib.hypermedia ?

2019-02-06 Thread Thomas Klopf
Hello everyone, Please does anyone have some documentation on this module? gluon.contrib.hypermedia It seems better than parse_as_rest in some ways, but I'm not sure about how to customize it. Thanks! Tom -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Location of SQLFORM.grid pagination code for "count (*)" ?

2018-11-20 Thread Thomas Klopf
e in your grid view via {{=response.toolbar()}}). > > Anthony > > On Monday, November 19, 2018 at 8:04:42 AM UTC-5, Thomas Klopf wrote: >> >> Hi everyone, >> Please could someone point out how/where the pagination works with >> SQLFORM.grid? I found a b

[web2py] Location of SQLFORM.grid pagination code for "count (*)" ?

2018-11-19 Thread Thomas Klopf
Hi everyone, Please could someone point out how/where the pagination works with SQLFORM.grid? I found a bug with the Oracle driver, where queries will fail if you're trying to filter columns that aren't displayed in the 'fields' list passed to SQLFORM.grid(). Basically I need to get to the

[web2py] Re: how to set "arraysize" value for the DAL Oracle cursor ?

2018-11-19 Thread Thomas Klopf
I suspect the problem is another. The problem is that web2py turns the > response into objects and that takes a lot of time. > If you do not want that there is a way to prevent it. > > On Sunday, 2 September 2018 11:03:30 UTC-7, Thomas Klopf wrote: >> >> Hi everyone! >> Plea

[web2py] problems with hyphens in URL using routes.py

2018-11-01 Thread Thomas Klopf
Hello, Please can someone help with a routing problem? I'm using pattern-based routing (config below), mainly to map for example: "/servers/server-123.json" to "/ids/servers/view.json?NAME=server-123" using routes.py entry:

[web2py] how can i change DAL/Oracle cursor arraysize?

2018-09-02 Thread Thomas Klopf
Hi everyone, Not sure if my last post made it through or not... Please does anyone know a good way to set the 'arraysize' value on the cx_Oracle cursor through web2py? I'm having performance issues with web2py connecting to a remote Oracle DB. I manually connected with cx_Oracle and

[web2py] how to set "arraysize" value for the DAL Oracle cursor ?

2018-09-02 Thread Thomas Klopf
Hi everyone! Please I'd appreciate some tips on a problem I'm having.. I have a remote Oracle DB I'm connecting to with web2py, and performance is very slow retrieving large select queries/result sets. I tried manually connecting with the cx_Oracle package, and found a huge performance