[sqlalchemy] Re: Specify Protected keywords in new SQL Dialect

2014-09-19 Thread Matthew Rocklin
Alternatively if someone can point me to the appropriate docs on this I'd be much obliged. A cursory view of the docs and Google didn't yield much. On Friday, September 19, 2014 6:32:26 AM UTC-4, Matthew Rocklin wrote: When building a new SQL dialect how can one specify new protected keywords

Re: [sqlalchemy] Re: Specify Protected keywords in new SQL Dialect

2014-09-19 Thread Simon King
I don't know about documentation, but a quick look at the source suggests that you can set the reserved_words property on your identifier preparer: https://bitbucket.org/zzzeek/sqlalchemy/src/master/lib/sqlalchemy/dialects/postgresql/base.py#cl-476