mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Add begin and end keywords in the reserved names to be escaped (#310)
This commit is contained in:
parent
c021c49b0b
commit
183a05156a
@ -312,6 +312,8 @@ nsList = namespace.split('::')
|
|||||||
|
|
||||||
def escape_if_reserved(name):
|
def escape_if_reserved(name):
|
||||||
reserved_names = [
|
reserved_names = [
|
||||||
|
'BEGIN',
|
||||||
|
'END',
|
||||||
'GROUP',
|
'GROUP',
|
||||||
'ORDER',
|
'ORDER',
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user