Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
lcgitdev
sqlparse
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
sqlparse
sqlparse
engine
grouping.py
on
0.2.3
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 24, 2016
Fix special case for #284 when statement starts with orphaned AS.
andialbrecht
committed
b68e4b7
View commit details
Copy full SHA for b68e4b7
View code at this point
Browse repository at this point
Commits on Oct 1, 2016
Handle operator grouping after identifying typecasts (fixes #297).
andialbrecht
committed
f0754a6
View commit details
Copy full SHA for f0754a6
View code at this point
Browse repository at this point
Commits on Sep 14, 2016
Correct license link (fixes #288).
andialbrecht
committed
4430c5c
View commit details
Copy full SHA for 4430c5c
View code at this point
Browse repository at this point
Commits on Aug 24, 2016
Merge pull request #285 from vmuriart/unify_naming_schema
Show description for 791a331
andialbrecht
authored
791a331
View commit details
Copy full SHA for 791a331
View code at this point
Browse repository at this point
Commits on Aug 23, 2016
Fix #284 as grouping
vmuriart
committed
31830af
View commit details
Copy full SHA for 31830af
View code at this point
Browse repository at this point
Unify_naming_schema. Closes #283
vmuriart
committed
a36008a
View commit details
Copy full SHA for a36008a
View code at this point
Browse repository at this point
Commits on Jun 19, 2016
Previous fix for period failed when another token (non-groupable) followed.
vmuriart
committed
b3700f4
View commit details
Copy full SHA for b3700f4
View code at this point
Browse repository at this point
Revert behavior of dangling period(hanging schema qualifier)
Show description for 24f0d3d
vmuriart
committed
24f0d3d
View commit details
Copy full SHA for 24f0d3d
View code at this point
Browse repository at this point
Misc. small code clean-up/comments
vmuriart
committed
581912d
View commit details
Copy full SHA for 581912d
View code at this point
Browse repository at this point
Commits on Jun 15, 2016
Change group_matching back to idx
vmuriart
committed
caefd84
View commit details
Copy full SHA for caefd84
View code at this point
Browse repository at this point
remove group left_right
vmuriart
committed
228059e
View commit details
Copy full SHA for 228059e
View code at this point
Browse repository at this point
Change grouping from _left_right to _group
vmuriart
committed
d6763dc
View commit details
Copy full SHA for d6763dc
View code at this point
Browse repository at this point
remove extra recurse and rename vars
Show description for a653650
vmuriart
committed
a653650
View commit details
Copy full SHA for a653650
View code at this point
Browse repository at this point
Refactor _group's prev token logic
vmuriart
committed
49979e9
View commit details
Copy full SHA for 49979e9
View code at this point
Browse repository at this point
Reduce calls by _group to get tk idx
vmuriart
committed
0acaa4c
View commit details
Copy full SHA for 0acaa4c
View code at this point
Browse repository at this point
Re-Write grouping functions
vmuriart
committed
74b3464
View commit details
Copy full SHA for 74b3464
View code at this point
Browse repository at this point
Reorder grouping code and func call order
Show description for af9b82e
vmuriart
committed
af9b82e
View commit details
Copy full SHA for af9b82e
View code at this point
Browse repository at this point
Make use of token_index more obvious
vmuriart
committed
56b28dc
View commit details
Copy full SHA for 56b28dc
View code at this point
Browse repository at this point
Normalize behavior between token_next and token_next_by
Show description for 5002bfa
vmuriart
committed
5002bfa
View commit details
Copy full SHA for 5002bfa
View code at this point
Browse repository at this point
Rename token_idx_ funcs to simply token_ funcs
vmuriart
committed
4f922d9
View commit details
Copy full SHA for 4f922d9
View code at this point
Browse repository at this point
Change token_ funcs to token_idx funcs
vmuriart
committed
a795be1
View commit details
Copy full SHA for a795be1
View code at this point
Browse repository at this point
Commits on Jun 14, 2016
Change argument order to match order of all other functions
vmuriart
committed
997f95b
View commit details
Copy full SHA for 997f95b
View code at this point
Browse repository at this point
Refactor _group_matching
vmuriart
committed
954ba46
View commit details
Copy full SHA for 954ba46
View code at this point
Browse repository at this point
Apply alt style for grouping left/right
vmuriart
committed
c601435
View commit details
Copy full SHA for c601435
View code at this point
Browse repository at this point
Reapply fix for case within paranthesis
vmuriart
committed
405a668
View commit details
Copy full SHA for 405a668
View code at this point
Browse repository at this point
Merge remote-tracking branch 'core/long_live_indexes' into develop
vmuriart
committed
a7ffa64
View commit details
Copy full SHA for a7ffa64
View code at this point
Browse repository at this point
Commits on Jun 13, 2016
Use a specialized token_idx_next.
Show description for 89d4f68
sjoerdjob
authored and
vmuriart
committed
89d4f68
View commit details
Copy full SHA for 89d4f68
View code at this point
Browse repository at this point
Index-based token_idx_prev
Show description for 8f7968e
sjoerdjob
authored and
vmuriart
committed
8f7968e
View commit details
Copy full SHA for 8f7968e
View code at this point
Browse repository at this point
Use specialized token_idx_next_by in group_aliased.
Show description for 67dc823
sjoerdjob
authored and
vmuriart
committed
67dc823
View commit details
Copy full SHA for 67dc823
View code at this point
Browse repository at this point
Re-use token index in group_identifier.
sjoerdjob
authored and
vmuriart
committed
237575e
View commit details
Copy full SHA for 237575e
View code at this point
Browse repository at this point
Replace _group_matching with an inward-out grouping algorithm
Show description for d4cc064
sjoerdjob
authored and
vmuriart
committed
d4cc064
View commit details
Copy full SHA for d4cc064
View code at this point
Browse repository at this point
Special-case group_tokens(..., tokens_between())
Show description for 896774c
sjoerdjob
authored and
vmuriart
committed
896774c
View commit details
Copy full SHA for 896774c
View code at this point
Browse repository at this point
Call `Token`-methods index based.
Show description for 6145070
sjoerdjob
authored and
vmuriart
committed
6145070
View commit details
Copy full SHA for 6145070
View code at this point
Browse repository at this point
Commits on Jun 12, 2016
Refactor grouping
Show description for 82b3b6b
vmuriart
committed
82b3b6b
View commit details
Copy full SHA for 82b3b6b
View code at this point
Browse repository at this point
Add sql.Operation tokenlist
vmuriart
committed
90ef13b
View commit details
Copy full SHA for 90ef13b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.