Leonel - that seems like a good suggestion but I'm afraid it didn't work.
Changing the 'SUM(dpspend.amount)' to "SUM('dpspend'.'amount')" had no
effect and when I tried rows=db(query).select(.....,entity_quoting=False) I
got an exception - TypeError: _select_wcols() got an unexpected keyword
argument 'entity_quoting'
Perhaps that was not the right place to put it. Is there any documentation
about the new DAL entity quoting?
It will take me a day or so to prepare the test app and database.
On Wednesday, 8 November 2017 21:53:48 UTC, Leonel Câmara wrote:
>
> DaneW I think the problem is being caused by the new DAL entity quoting so
> your problem is fixed if you set entity_quoting=False in your DAL call or
> change your headers dictionary to have quotes for instance instead of
> 'SUM(dpspend.amount)' you will use "SUM('dpspend'.'amount')"
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/d/optout.