The text is wrong and the example is right.

USE THE EXAMPLE!

db = DAL('postgres://...', ...,ignore_field_case=False, entity_quoting=True)





2014-12-09 15:57 GMT+01:00 Paolo Valleri <[email protected]>:

> try to set ignore_field_case and entity_quoting to True., see
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Database-quoting-and-case-settings--entity_quoting--ignore_field-
>
> Paolo
>
> On Tuesday, December 9, 2014 2:58:05 PM UTC+1, Leonardo Silvano wrote:
>>
>>
>> I have a legacy table, and it has some uppercases letters, so in the
>> select the field must be wrapped in ". Something like SELECT table."fielD"
>> from table...
>>
>> Is there any way filter any select that web2py does and wrap any field or
>> table with uppercase letter around "?
>>
>  --
> 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.
>

-- 
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.

Reply via email to