0
0
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:
Sylvain Joubert 2020-02-06 10:58:53 +01:00 committed by GitHub
parent c021c49b0b
commit 183a05156a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,6 +312,8 @@ nsList = namespace.split('::')
def escape_if_reserved(name):
reserved_names = [
'BEGIN',
'END',
'GROUP',
'ORDER',
]