summaryrefslogtreecommitdiff
path: root/sqlparse/engine
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v0.2.0v0.2.0Andi Albrecht2015-07-261-1/+1
|\
| * Don't treat DECLARE within BEGIN blocks as relevant to split level (fixes #193).Andi Albrecht2015-07-261-1/+1
| |
* | Merge master into v0.2.0.Andi Albrecht2015-03-051-19/+61
|\ \ | |/
| * Group square-brackets into identifiersDarik Gamble2015-03-041-4/+5
| | | | | | | | Indentifier.get_array_indices() looks for square brackets, and yields lists of bracket grouped tokens as array indices
| * Parse square brackets as a group just like parensDarik Gamble2015-03-041-4/+43
| | | | | | | | | | - add class sql.SquareBrackets - replace group_parenthesis() with more generic group_brackets(), which groups square and round brackets, so each can contain groups of the other
| * Move _find_matching to a module-level functionDarik Gamble2015-03-041-11/+13
| |
* | Merge master into v0.2.0 branch.Andi Albrecht2015-02-211-2/+5
|\ \ | |/
| * 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-081-1/+3
| | | | | | | | Pull request #170 with trivial conflicts resolved.
* | Remove six dependency.Andi Albrecht2015-01-171-2/+1
| | | | | | | | | | We only use very little of six. That isn't worth to add an extra dependency.
* | Migrate to six and get rid of 2to3.Andi Albrecht2015-01-171-1/+1
| | | | | | | | | | | | | | | | Now we've got really a single code base for both Python 2 and 3. For now it just adds a dependency to six which should be available on most systems. However, if it turns out to switch back to no dependencies it should be fairly easy to replace six by some conditional imports.
* | Remove conditional import targeting Python < 2.6.Andi Albrecht2015-01-171-5/+0
| |
* | Add flake8 to tox configuration and code cleanup.Andi Albrecht2015-01-171-4/+5
|/
* Group comments to parent object (fixes #160).Andi Albrecht2015-01-171-1/+20
|
* Improve parsing of inline comments for identifiers (fixes #163).Andi Albrecht2015-01-161-0/+2
|
* Improve formatting of HAVING statements.Andi Albrecht2014-12-211-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
|
* Fix a regression introduced in 0.1.12.Andi Albrecht2014-10-081-1/+1
|
* Improve parsing of identifier lists containing placeholders.Andi Albrecht2014-03-181-1/+1
|
* Improve handling of NULL in aliased identifiers.Andi Albrecht2014-03-031-0/+3
|
* Fix parsing and formatting of statements containing EXCEPT keyword.Andi Albrecht2014-01-281-1/+1
|
* Improve parsing of string literals in columns.Andi Albrecht2014-01-101-0/+1
|
* Support for BEGIN/END blocks, add FOREACH keyword.Andi Albrecht2013-11-191-1/+13
|
* Improve grouping of expressions (targets #23).Andi Albrecht2013-10-241-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
* Allow NULL keyword in assignments (fixes #90).Andi Albrecht2013-04-201-1/+3
|
* 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-051-0/+15
|
* Add encoding parameter to top-level functions (fixes issue20).Andi Albrecht2013-04-041-2/+2
|
* Fix internals of _group_left_right, avoid identifying keywords as aliased ↵Andi Albrecht2013-03-181-3/+8
| | | | identifiers.
* PEP8'ified to code a bit.Andi Albrecht2012-11-121-1/+2
|
* Handle whitepaces between operators correctly, improve handling of ↵Andi Albrecht2012-11-111-1/+9
| | | | concatenated strings (issue53).
* Special case grouping logic for VARCHAR, otherwise it gets lost from field ↵Mike Amy2012-11-071-4/+5
| | | | definitions.
* I always forget to remove the prints for testing... :-PJesús Leganés Combarro "Piranna"2012-05-191-2/+0
|
* Merge branch 'master' into antiormJesús Leganés Combarro "Piranna"2012-05-191-0/+2
| | | | | Conflicts: sqlparse/filters.py
* Removed TokenFilter and using duck-typing instead (more pythonic)Jesús Leganés Combarro "Piranna"2012-04-281-12/+1
|
* various optimizations in sql.pyquest2012-04-221-1/+2
|
* Properly group placeholders in identifier lists (fixes #52).Andi Albrecht2012-04-191-0/+1
|
* Pretty formatting of role keyword in identifier list (fixes #49).Andi Albrecht2012-04-191-0/+1
|
* Pretty format comments in identifier lists (fixes issue59).Andi Albrecht2012-04-191-14/+16
|
* Handle asterisks as operators when grouping identifiers (fixes issue58).Andi Albrecht2012-02-261-1/+3
|
* Solved sisue 57: StatementFilter doesn't process correctly on recursive ↵Jesús Leganés Combarro "Piranna"2012-01-231-2/+3
| | | | statements (for example, triggers)
* Added commentsJesús Leganés Combarro "Piranna"2012-01-231-10/+16
|
* Added docstringsJesús Leganés Combarro "Piranna"2012-01-231-2/+10
|
* Allow CASE statements as identifiers (fixes issue46).Andi Albrecht2011-09-291-1/+2
|
* Detect alias for CASE statements (targets issue46).Andi Albrecht2011-09-291-6/+5
|
* Merged.Andi Albrecht2011-09-272-4/+7
|\
| * Code cleanup.Andi Albrecht2011-09-062-4/+7
| |