summaryrefslogtreecommitdiff
path: root/sqlparse
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Remove assert statements from lexer.pyVictor Uriarte2016-05-291-19/+0
| | |
| * | Remove undocumented ws handlers from lexer.pyVictor Uriarte2016-05-291-15/+2
| | | | | | | | | | | | | | | Removing nl before tokenizing breaks comments (stripnl/stripall) Remove tab-expansion.
| * | Remove unused func/class/args in lexer.pyVictor Uriarte2016-05-291-60/+3
| | | | | | | | | | | | | | | | | | Remove unused apply_filters from lexer.py Remove unused filters function from lexer.py Remove unused arguments get_tokens func
| * | Refactor var Lexer.tokens & func is_keywordVictor Uriarte2016-05-292-68/+70
| |/
* | Remove redundant functionsVictor Uriarte2016-06-022-16/+2
| |
* | Refactor format function signatureVictor Uriarte2016-06-021-2/+1
| | | | | | | | easier way to get encoding variable
* | Update TokenType magic methods (contains, getattr, repr)Victor Uriarte2016-06-021-8/+7
| | | | | | | | | | Variables were renamed to keep with convention getattr call to tuple (super) is unnecessary.
* | Remove unused code from tokens.pyVictor Uriarte2016-06-021-14/+0
| |
* | Fix flake8 stylingVictor Uriarte2016-05-293-5/+6
| |
* | Fix unicode comparison warningVictor Uriarte2016-05-291-2/+2
| |
* | Change old-style class to new-styleVictor Uriarte2016-05-292-14/+14
| | | | | | | | | | py3 interpreted old code as new-style classes. py2 should match its behavior.
* | Remove unused hash function from tokens.pyVictor Uriarte2016-05-291-3/+0
|/
* CREATE TABLE should not be parsed as FunctionTenghuan2016-05-291-0/+9
|
* Merge pull request #236 from koljonen/using_directly_followed_by_parenthesisAndi Albrecht2016-05-281-0/+1
|\ | | | | Recognize USING as a keyword in 'USING(', not just in 'USING ('
| * Don't call is_keyword for the new 'USING(' regexkoljonen2016-05-151-1/+1
| |
| * Recognize USING as a keyword in 'USING(', not just in 'USING ('koljonen2016-05-141-0/+1
| | | | | | | | These were previously caught by (r'[^\W\d_]\w*(?=[.(])', tokens.Name), so I added a special regex just above that one.
* | Fix small typo in documentationDag Wieers2016-05-261-2/+2
| |
* | refactor group_commentsVictor Uriarte2016-05-111-15/+9
| |
* | refactor sql.py functionsVictor Uriarte2016-05-112-85/+31
| |
* | separate identifier grouping into its componentsVictor Uriarte2016-05-101-77/+50
| | | | | | | | | | leaving sql.Operations in for future PR small behavior changed for invalid identifier
* | refactor identifier list and alias groupingVictor Uriarte2016-05-101-62/+26
| |
* | refactor remove quotesVictor Uriarte2016-05-101-11/+3
| |
* | refactor _group_left_rightVictor Uriarte2016-05-101-64/+39
| |
* | group all the one-offsVictor Uriarte2016-05-101-31/+21
| |
* | Add group matching M_tokens and refactor group matchingVictor Uriarte2016-05-103-110/+38
| | | | | | | | remove slots in subclasses
* | Introduce @recurse to refactor recursionVictor Uriarte2016-05-102-11/+12
| |
* | generalize group_tokens for more use casesVictor Uriarte2016-05-102-19/+29
| |
* | adding powerful _token_matching and imt helperVictor Uriarte2016-05-101-6/+30
| |
* | update sqlVictor Uriarte2016-05-101-8/+8
| |
* | Update compat and utilsVictor Uriarte2016-05-102-13/+98
|/
* Improve identifier parsing when identifier is a literal combined with order ↵Andi Albrecht2016-04-061-0/+2
| | | | keyword (fixes #101).
* Fix #230 (function comparison grouping)saaj2016-04-051-1/+2
|
* Code cleanup.Andi Albrecht2016-04-033-33/+28
|
* Token keyword correctionCauê Beloni2016-03-291-1/+1
|
* Ensure get_type() works for queries that use WITH.Andrew Tipton2016-03-023-1/+14
|
* Add keyword 'SEQUENCE'Shen Longxing2015-12-221-0/+1
| | | For now, sqlparse does not support 'create sequence' statement. Add keyword 'SEQUENCE' to support it.
* fix issue #215Shen Longxing2015-12-181-2/+2
| | | Add splitlevel for while/end while
* fix issue #215Shen Longxing2015-12-181-1/+1
| | | Add token for 'END WHILE'
* fix issue #215Shen Longxing2015-12-181-0/+1
| | | Add keyword 'WHILE'
* fix issue #213Shen Longxing2015-12-141-1/+3
|
* Fix version check when casting TokenList to string (fixes #212).Andi Albrecht2015-12-081-1/+1
|
* Merge branch 'hotfix'.Andi Albrecht2015-12-081-3/+3
|\
| * Workaround to avoid IndexError when grouping identifiers.Andi Albrecht2015-12-081-3/+3
| |
* | Remove SQLParseError from top-level module.Andi Albrecht2015-10-261-2/+0
| |
* | Remove sql.Token.to_unicode.Andi Albrecht2015-10-261-8/+0
| |
* | Remove conditional for OrderedDict.Andi Albrecht2015-10-261-46/+24
| | | | | | | | All supported Python versions have OrderedDict.
* | Skip tests for SQLParseError for now, it will go away soon.Andi Albrecht2015-10-261-1/+1
| |
* | Cleanup module code.Andi Albrecht2015-10-268-31/+31
| |
* | Fix tab expansion for Python 3.Andi Albrecht2015-10-261-5/+7
| |
* | Use compat module for single Python 2/3 code base.Andi Albrecht2015-10-265-38/+44
| | | | | | | | This change includes minor fixes and code cleanup too.