summaryrefslogtreecommitdiff
path: root/sqlparse
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * add keyword recognition for "FULL OUTER JOIN" and "CROSS JOIN"Alexander Beedie2013-09-021-1/+1
| |
* | Remove buffered reading again (fixes #114).Andi Albrecht2013-10-231-21/+1
| | | | | | | | It causes problems with some sources.
* | Switch back to development mode.Andi Albrecht2013-09-281-1/+1
| |
* | Preparing 0.1.90.1.9Andi Albrecht2013-09-281-1/+1
| |
* | Fix tagging of identifiers by not taking single quoted strings into account ↵Andi Albrecht2013-09-281-2/+1
| | | | | | | | (fixes #111).
* | Parenthesis, Functions and Arithmetic Expressionsprudhvi2013-09-131-4/+9
|/ | | are valid types to group an identifier
* Add skip_ws flag to Token.insert_after (fixes #108).Andi Albrecht2013-08-301-2/+2
|
* Parse scientific numbers as floats (fixes #107).Andi Albrecht2013-08-261-0/+1
|
* Add option to truncate long string literals.Andi Albrecht2013-07-092-0/+38
|
* Switch back to development version.Andi Albrecht2013-06-291-1/+1
|
* Bump version to 0.1.8.0.1.8Andi Albrecht2013-06-291-1/+1
|
* Improve parsing of PEP249-style placeholder (fixes #103).Andi Albrecht2013-06-291-0/+1
|
* Allow whitespaces in certain keywords (fixes #97).Andi Albrecht2013-06-171-3/+3
|
* Added token 'USE' to keywordsmulos2013-06-061-0/+1
|
* Strip leading and trailing whitespaces from splitted statements.Andi Albrecht2013-05-151-1/+1
|
* Improve performance of reindent engine a bit (targets issue41).Andi Albrecht2013-05-102-4/+11
|
* Fixed Function.get_parameters (issue93).wayne.wuw2013-05-091-0/+2
|
* Fix typo in keyword list (fixes issue92).Andi Albrecht2013-04-281-1/+1
|
* Added STRAIGHT_JOIN token.Yago Riveiro2013-04-253-2/+3
|
* Allow NULL keyword in assignments (fixes #90).Andi Albrecht2013-04-201-1/+3
|
* Bump version again.Andi Albrecht2013-04-061-1/+1
|
* Bump version.0.1.7Andi Albrecht2013-04-061-1/+1
|
* Detect runaway indentations and go back to first column instead of going crazy.Andi Albrecht2013-04-061-1/+7
| | | | | Even though the resulting statement is not correctly formatted, it's much more usable than before.
* Allow keywords in identifier lists (fixes #10).Andi Albrecht2013-04-061-0/+1
|
* Add order criterion to identifier in ORDER BY clause (fixes #89).Andi Albrecht2013-04-053-2/+24
|