Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
wangqr2023
sqlparse
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
sqlparse
sqlparse
sql.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 11, 2019
Avoid formatting of psql commands (fixes #469).
andialbrecht
committed
cff61bb
View commit details
Copy full SHA for cff61bb
View code at this point
Browse repository at this point
Commits on Mar 10, 2019
[tokenizer] Grouping GROUP/ORDER BY
John Bodley
authored and
andialbrecht
committed
c4e9dae
View commit details
Copy full SHA for c4e9dae
View code at this point
Browse repository at this point
Fix formatting on INSERT (fixes #329)
Show description for fa7def0
fredyw
authored and
andialbrecht
committed
fa7def0
View commit details
Copy full SHA for fa7def0
View code at this point
Browse repository at this point
Code cleanup.
Andreas Albrecht
authored and
Andreas Albrecht
committed
6a7eb24
View commit details
Copy full SHA for 6a7eb24
View code at this point
Browse repository at this point
Commits on Jan 7, 2019
Revamped pprint_tree
vallentin
authored and
andialbrecht
committed
d023395
View commit details
Copy full SHA for d023395
View code at this point
Browse repository at this point
Commits on Jul 31, 2018
Update copyright header (fixes #372).
andialbrecht
committed
3853a07
View commit details
Copy full SHA for 3853a07
View code at this point
Browse repository at this point
Commits on Jul 28, 2018
Fix Failing Build - Flake8
KevinBoyette
authored and
andialbrecht
committed
5e1d5e2
View commit details
Copy full SHA for 5e1d5e2
View code at this point
Browse repository at this point
Commits on Jul 8, 2018
Added HAVING class
Show description for 8bf78a0
ksakargayen
authored and
andialbrecht
committed
8bf78a0
View commit details
Copy full SHA for 8bf78a0
View code at this point
Browse repository at this point
fix "WITH name" case (#418)
Show description for 71fb556
djsfcom
authored and
andialbrecht
committed
71fb556
View commit details
Copy full SHA for 71fb556
View code at this point
Browse repository at this point
Commits on Mar 22, 2018
Fix issue with get_real_name returning incorrect name
fredyw
committed
e07e095
View commit details
Copy full SHA for e07e095
View code at this point
Browse repository at this point
Commits on Nov 29, 2017
Fix typos
vmuriart
committed
43478c6
View commit details
Copy full SHA for 43478c6
View code at this point
Browse repository at this point
Commits on Jul 29, 2017
Fix parsing of UNION ALL after WHERE (fixes #349).
andialbrecht
committed
1138972
View commit details
Copy full SHA for 1138972
View code at this point
Browse repository at this point
Commits on Mar 2, 2017
Fix parsing of INTO keyword in WHERE clauses (fixes #324).
Andi Albrecht
committed
59033cc
View commit details
Copy full SHA for 59033cc
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 31, 2016
Convert string literals to unicode for Py27
Show description for b05bc5a
phdru
committed
b05bc5a
View commit details
Copy full SHA for b05bc5a
View code at this point
Browse repository at this point
Commits on Aug 23, 2016
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
Clean-up quoting
vmuriart
committed
ae05326
View commit details
Copy full SHA for ae05326
View code at this point
Browse repository at this point
Commits on Aug 5, 2016
Avoid double apostrophes
Show description for 17d5f8c
phdru
committed
17d5f8c
View commit details
Copy full SHA for 17d5f8c
View code at this point
Browse repository at this point
Commits on Jun 25, 2016
Returning clause ends where clause
darikg
committed
c27a604
View commit details
Copy full SHA for c27a604
View code at this point
Browse repository at this point
Commits on Jun 20, 2016
token_next shouldn't ignore skip_cm
darikg
committed
66ae504
View commit details
Copy full SHA for 66ae504
View code at this point
Browse repository at this point
Commits on Jun 15, 2016
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
Remove functions no-longer used
vmuriart
committed
711744d
View commit details
Copy full SHA for 711744d
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
Remove unused code from sql.py and style up some changes
vmuriart
committed
0bcb34c
View commit details
Copy full SHA for 0bcb34c
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
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
Commits on Jun 12, 2016
Fix token-parent behavior
Show description for fae3d94
vmuriart
committed
fae3d94
View commit details
Copy full SHA for fae3d94
View code at this point
Browse repository at this point
Remove token_first; its redundant to token_next(idx=0)
vmuriart
committed
c4954af
View commit details
Copy full SHA for c4954af
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.