See also https://groups.google.com/d/msg/web2py/lPcl3CrfnDs/J0zqHf8DAwAJ.

On Wednesday, July 25, 2018 at 2:23:58 PM UTC-4, Anthony wrote:
>
> On Wednesday, July 25, 2018 at 1:54:56 PM UTC-4, pbreit wrote:
>>
>> I feel like I've heard before that we no longer need to worry about 
>> reserved words which would be awesome. I'm going to try that on my projects 
>> and see if I run into any issues.
>>
>> Is this something that Massimo or Giovanni could confirm?
>>
>
> Notice at 
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#DAL-signature,
>  
> it shows the "entity_quoting" argument. The book shows it defaulting to 
> False, but it actually defaults to True. If you set it to False, 
> identifiers will not be double quoted, but by default, they are quoted 
> (using the appropriate quoting syntax per database -- double quotes for 
> SQLite and Postgres, backticks for MySQL, etc.).
>
> Relevant code is here 
> <https://github.com/web2py/pydal/blob/master/pydal/dialects/base.py#L37> 
> and here 
> <https://github.com/web2py/pydal/blob/master/pydal/adapters/__init__.py#L36-L48>
> .
>
> Anthony 
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to