summaryrefslogtreecommitdiff
path: root/sqlparse
Commit message (Collapse)AuthorAgeFilesLines
* Code cleanup.Andreas Albrecht2019-10-205-19/+26
|
* support typed literals (if that's what they're called)Dvořák Václav2019-10-203-6/+43
|
* [sql] Fix TokenList.__init__ when no tokens are providedJohn Bodley2019-10-091-1/+1
|
* [fix] Addressing issue #507John Bodley2019-10-091-3/+3
|
* Restrict detection of alias names (fixes #455).Andreas Albrecht2019-10-091-15/+27
| | | | | This change adopts some parts of the pull request #509 by john-bodley. Thanks!
* Revert "Add in slash comment functionality"Toby Mao2019-06-261-2/+2
| | | | This reverts commit 170010e7d709f2145169d23482d006dc56856256.
* Optimize parsing of literal blocks between dollar signs (fixes #491).Andi Albrecht2019-06-261-1/+1
|
* Add support for time zone casts (fixes #489).Andi Albrecht2019-05-162-1/+15
|
* Identitfy NULLS FIRST/LAST as keywords (fixes #487).Andi Albrecht2019-05-011-0/+1
|
* Fixes #485William Ivanski2019-04-171-1/+1
|
* Fixes #485William Ivanski2019-04-171-1/+0
|
* Fixes #485William Ivanski2019-04-171-6/+9
|
* Added HQL Keywordsmathilde.oustlant2019-03-121-2/+97
|
* Switch back to development.Andi Albrecht2019-03-111-1/+1
|
* Bump version.0.3.0Andi Albrecht2019-03-111-1/+1
|
* Avoid formatting of psql commands (fixes #469).Andi Albrecht2019-03-113-1/+7
|
* Remove unnecessary compat shim for bytesJon Dufresne2019-03-102-4/+2
| | | | | | | | | | Both Python 2.7 and Python 3 have the type bytes. On Python 2.7, it is an alias of str, same as was previously defined in compat.py. Makes the code slightly more compatible with Python 3 style syntax. Observe: $ python2 >>> bytes <type 'str'>
* [tokenizer] Addressing @andialbrecht commentsJohn Bodley2019-03-101-6/+6
|
* [tokenizer] Grouping GROUP/ORDER BYJohn Bodley2019-03-104-8/+17
|
* [keywords] Adding Calcite temporal keywordsJohn Bodley2019-03-101-0/+4
|
* Add in slash comment functionalityIan Robertson2019-03-101-2/+2
|
* [filters] Stripping parenthesis whitespaceJohn Bodley2019-03-101-2/+2
|
* Fix formatting on INSERT (fixes #329)Fredy Wijaya2019-03-103-1/+35
| | | | | | | | | | | | | | | | | | | | This patch fixes the formatting on INSERT by creating a new instance of sql.Values to group all the values. SQL: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') Before: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') After: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz')
* Merge branch 'issue_425' of https://github.com/fredyw/sqlparse into ↵Andreas Albrecht2019-03-101-0/+7
|\ | | | | | | fredyw-issue_425
| * Fix issue with strip_comments causing a syntax error (fixes #425)Fredy Wijaya2018-11-211-0/+7
| |
* | Code cleanup.Andreas Albrecht2019-03-105-15/+17
| |
* | Revamped pprint_treeMrVallentin2019-01-071-4/+8
| |
* | Fix from( parsing issue (fixes #446)Fredy Wijaya2018-12-031-1/+1
| |
* | Fix reindent issue for parenthesis (fixes issue 427)Fredy Wijaya2018-12-031-1/+1
|/
* Update copyright header (fixes #372).Andi Albrecht2018-07-3122-22/+44
|
* Add UPSERT keyword (fixes #408).Andi Albrecht2018-07-311-0/+1
|
* Add missing EXPLAIN keyword (fixes #421).Andi Albrecht2018-07-281-0/+1
|
* Fix Failing Build - Flake8Kevin Boyette2018-07-281-2/+2
|
* Added HAVING classslickholms2018-07-081-0/+6
| | | | added a class named Having and inherited it with TokenList It will be easier for further manipulations as a HAVING clause contains multiple conditions just like WHERE clause
* fix "WITH name" case (#418)andrew deryabin2018-07-081-1/+2
| | | | | | * fix "WITH name" case * fix "WITH name" case (flake8 fix)
* Correct spelling (#407)Josh Soref2018-05-181-1/+1
| | | | | | | | | | | | | | | | * spelling: choice * spelling: duplicate * spelling: identifier * spelling: issue * spelling: parenthesis * spelling: split * spelling: statements
* Deal with long function paramsSoloman Weng2018-03-261-2/+5
|
* Wrap long functionSoloman Weng2018-03-261-0/+31
|
* Fix issue with get_real_name returning incorrect nameFredy Wijaya2018-03-211-3/+4
|
* Merge pull request #396 from fredyw/issue_385Andi Albrecht2018-03-211-0/+1
|\ | | | | Fix incorrect splitting with double quotes and a new line
| * Fix incorrect splitting with double quotes and a new lineFredy Wijaya2018-03-091-0/+1
| |
* | Merge pull request #393 from digitalarbeiter/indent_identifiersAndi Albrecht2018-03-213-3/+25
|\ \ | | | | | | Option: indent all identifiers, including the first one, by width
| * | new option --indent_columns to indent all columns by --indent_widthPatrick Schemitz2018-03-031-0/+7
| | |
| * | indent all identifiers, including the first one, by width instead of keyword ↵Patrick Schemitz2018-03-032-3/+18
| |/ | | | | | | length
* | fix trailing semicolon errorcircld2018-02-171-1/+2
|/
* Remove duplicate StringIO importJon Dufresne2018-01-041-1/+0
|
* Add more Postgres types. [1]Jesse Claven2017-12-181-0/+27
| | | | [1] https://www.postgresql.org/docs/9.5/static/datatype.html#DATATYPE-TABLE
* Code cleanup.Andi Albrecht2017-12-031-5/+6
|
* Fix regression introduced by new indent_after_first option.Andi Albrecht2017-12-031-0/+1
|
* Fix typostypoVictor Uriarte2017-11-298-18/+18
|