Pydal Quotes in table migrations and selects

18 views
Skip to first unread message

Kevin Keller

unread,
Sep 11, 2022, 12:01:27 PM9/11/22
to py4web, web2py-users
The Snowflake Pydal adapter I did is based on the postgresql adapter. 

It works great, but it creates tables with quotes in the name and issues selects always with quotes. 

With consistency this is not a problem for pydal based applications, but its annoying if other applications always need to consider the quotes for tables and columns created by pydal. 

Is there a way I can easily disable this behavioir and get rid of the quotes in the pydal adapter?

I see in the migrator.py code there is some code for example to quote tables for oracle:

Is this the right code to change ? 

I wonder if there is not an easier way. 



image.png

image.png


image.png
Reply all
Reply to author
Forward
0 new messages