summaryrefslogtreecommitdiff
path: root/sqlparse
Commit message (Collapse)AuthorAgeFilesLines
* Move get_parent_name() from Identifer to TokenList (so Function can use it)Darik Gamble2015-02-091-21/+11
|
* get_name() uses _get_first_name()Darik Gamble2015-02-091-0/+4
|
* get_alias() uses _get_first_name(), and searches in reverse for "column ↵Darik Gamble2015-02-091-13/+9
| | | | expression alias"
* TokenList convenience method _get_first_nameDarik Gamble2015-02-091-0/+18
|
* Group adjacent names to allow aliasing without the AS keywordDarik Gamble2015-02-091-3/+4
|
* (postgresql) Add support for square bracket array indexing, by darikg.Andi Albrecht2015-02-084-1/+12
| | | | Pull request #170 with trivial conflicts resolved.
* Add double precision as a built-in datatypeDarik Gamble2015-02-061-0/+1
|
* Sort Name.Builtin.Andi Albrecht2015-01-171-5/+5
|
* Add TINYINT keyword (fixes #154).Andi Albrecht2015-01-171-0/+1
|
* Add SIGNED keyword (fixes #155).Andi Albrecht2015-01-171-0/+1
|
* Add UNSIGNED keyword (fixes #156).Andi Albrecht2015-01-171-0/+1
|
* Group comments to parent object (fixes #160).Andi Albrecht2015-01-172-10/+25
|
* Improve parsing of inline comments for identifiers (fixes #163).Andi Albrecht2015-01-162-0/+5
|
* Improve formatting of HAVING statements.Andi Albrecht2014-12-212-2/+13
|
* Fix a regression for identifiers with square bracktes notation (fixes #153).Andi Albrecht2014-12-011-1/+1
|
* Update version.0.1.14Andi Albrecht2014-11-301-1/+1
|
* Improved formatting when newline precedes commas in lists (fixes #140).Andi Albrecht2014-11-301-0/+14
|
* Fix indentation when using tabs (fixes #146).Andi Albrecht2014-11-301-1/+6
|
* Make formatter a bit more robust (fixes issue121).Andi Albrecht2014-11-301-1/+4
|
* Revert last change.Andi Albrecht2014-11-301-1/+1
| | | | STATE is a keyword.
* Clean up keywords a bit.Andi Albrecht2014-11-301-1/+1
|
* Better handling of floats in UPDATE statements (issue145).Andi Albrecht2014-11-301-1/+1
|
* Handle single quoted strings in comparisons correctly (fixes issue148).Andi Albrecht2014-10-291-1/+2
|
* Preparing 0.1.13.0.1.13Andi Albrecht2014-10-091-1/+1
|
* Fix a regression introduced in 0.1.12.Andi Albrecht2014-10-082-2/+2
|
* Preparing 0.1.12.0.1.12Andi Albrecht2014-09-201-1/+1
|
* Handle modulo operator without spacesGavin Wahl2014-08-071-1/+2
| | | | | | | `x %3` should be interpreted as a modulo operation, not a parameter marker. Co-authored-by: Rocky Meza <rmeza@fusionbox.com>
* Improved sqlparse.utils.split_unquoted_newlines()Michael Schuller2014-07-311-40/+38
| | | | | I've modified this function to use a regular expression for most of the work. This makes it much, much faster, especially for large queries.
* Improve parsing of identifier lists containing placeholders.Andi Albrecht2014-03-181-1/+1
|
* Fix SerializerUnicode to split unquoted newlinesMichael Schuller2014-03-102-4/+46
| | | | | | | This provides a fix to issue #131. The `split_unquoted_newlines()` function added to the utils module handles the splitting of the string by performing a simple iteration of the string passed in and splitting on unquoted CR, LF, or CR+LFs as they are found.
* Improve handling of NULL in aliased identifiers.Andi Albrecht2014-03-031-0/+3
|
* Preparing 0.1.110.1.11Andi Albrecht2014-02-071-1/+1
|
* Fix Function.get_parameters() returning empty list for SQL functions that ↵spigwitmer2014-02-051-3/+3
| | | | have a single nested function as a param
* Fix Function.get_parameters() with 1 literal as its parameterspigwitmer2014-02-041-0/+2
|
* Fix parsing and formatting of statements containing EXCEPT keyword.Andi Albrecht2014-01-282-2/+2
|
* Merge pull request #125 from crorella/issue_124Andi Albrecht2014-01-161-0/+1
|\ | | | | Issue 124 - Added COLLECT keyword
| * Issue 124 - Added COLLECT keywordCristian Orellana2014-01-161-0/+1
| |
* | Improve parsing of string literals in columns.Andi Albrecht2014-01-101-0/+1
|/
* Fix: fixed COALESCE keyword, it had a type. Add: Added MERGE keywordCristian Orellana2014-01-091-1/+2
|
* Support for BEGIN/END blocks, add FOREACH keyword.Andi Albrecht2013-11-193-2/+21
|
* Merge pull request #116 from victorhahncastell/masterAndi Albrecht2013-11-061-4/+4
|\ | | | | Update keywords.py
| * Update keywords.pyVictor Hahn2013-10-291-4/+4
| | | | | | delare BEGIN, START, COMMIT and ROLLBACK as DML keywords to allow sqlparse to be used to identify transactions
* | Fix incorrect parsing of string literals with line breaks (fixes #118).Andi Albrecht2013-11-061-2/+2
| |
* | Switch back to dev mode.Andi Albrecht2013-11-021-1/+1
| |
* | Bump version.Andi Albrecht2013-11-021-1/+1
|/
* Improve grouping of expressions (targets #23).Andi Albrecht2013-10-242-1/+9
|
* Merge pull request #112 from alexander-beedie/masterAndi Albrecht2013-10-232-1/+2
|\ | | | | extended JOIN token recognition/lexing (eg: FULL OUTER JOIN, NATURAL JOIN)
| * tighten up JOIN regexAlexander Beedie2013-10-171-1/+1
| | | | | | ensure the regex does not match against invalid permutations such as 'LEFT OUTER CROSS JOIN', since CROSS/NATURAL keywords were added
| * extend regex to allow recognition of 'NATURAL JOIN'Alexander Beedie2013-10-171-1/+1
| |
| * add FULL to common keywords (frequently used in OUTER JOIN definitions)Alexander Beedie2013-09-021-0/+1
| |