diff options
author | Andrew Tipton <andrew.tipton@compareglobalgroup.com> | 2016-03-02 18:37:28 +0800 |
---|---|---|
committer | Andrew Tipton <andrew.tipton@compareglobalgroup.com> | 2016-03-02 18:37:28 +0800 |
commit | f516b66a0e254af510b6b8a18510aad922d69701 (patch) | |
tree | 9c941e82db9ce322b909241a2a9de4357be79374 /sqlparse/tokens.py | |
parent | d8e8f30137a06f3e1b92993c2ec69f000a76e9ec (diff) | |
download | sqlparse-f516b66a0e254af510b6b8a18510aad922d69701.tar.gz |
Ensure get_type() works for queries that use WITH.
Diffstat (limited to 'sqlparse/tokens.py')
-rw-r--r-- | sqlparse/tokens.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlparse/tokens.py b/sqlparse/tokens.py index 01a9b89..98fa8a6 100644 --- a/sqlparse/tokens.py +++ b/sqlparse/tokens.py @@ -75,6 +75,7 @@ Token.Number = Number # SQL specific tokens DML = Keyword.DML DDL = Keyword.DDL +CTE = Keyword.CTE Command = Keyword.Command Group = Token.Group |