summaryrefslogtreecommitdiff
path: root/sqlparse/tokens.py
diff options
context:
space:
mode:
authorAndrew Tipton <andrew.tipton@compareglobalgroup.com>2016-03-02 18:37:28 +0800
committerAndrew Tipton <andrew.tipton@compareglobalgroup.com>2016-03-02 18:37:28 +0800
commitf516b66a0e254af510b6b8a18510aad922d69701 (patch)
tree9c941e82db9ce322b909241a2a9de4357be79374 /sqlparse/tokens.py
parentd8e8f30137a06f3e1b92993c2ec69f000a76e9ec (diff)
downloadsqlparse-f516b66a0e254af510b6b8a18510aad922d69701.tar.gz
Ensure get_type() works for queries that use WITH.
Diffstat (limited to 'sqlparse/tokens.py')
-rw-r--r--sqlparse/tokens.py1
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