summaryrefslogtreecommitdiff
path: root/sqlparse/tokens.py
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2015-02-08 16:52:15 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2015-02-08 16:52:15 +0100
commite1b5482b1413591260f41ceb50e97091928f195a (patch)
tree01ab00f4d38f20b37a2f75ef28f737da12baaa00 /sqlparse/tokens.py
parent1ebad53c11295b26375fabf61591e7a69161842e (diff)
downloadsqlparse-e1b5482b1413591260f41ceb50e97091928f195a.tar.gz
(postgresql) Add support for square bracket array indexing, by darikg.
Pull request #170 with trivial conflicts resolved.
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..014984b 100644
--- a/sqlparse/tokens.py
+++ b/sqlparse/tokens.py
@@ -57,6 +57,7 @@ Literal = Token.Literal
String = Literal.String
Number = Literal.Number
Punctuation = Token.Punctuation
+ArrayIndex = Punctuation.ArrayIndex
Operator = Token.Operator
Comparison = Operator.Comparison
Wildcard = Token.Wildcard