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 }}
diulin
sqlparse
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
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 Oct 26, 2015
Remove sql.Token.to_unicode.
andialbrecht
committed
f39d334
View commit details
Copy full SHA for f39d334
View code at this point
Browse repository at this point
Cleanup module code.
andialbrecht
committed
1992f6d
View commit details
Copy full SHA for 1992f6d
View code at this point
Browse repository at this point
Use compat module for single Python 2/3 code base.
Show description for e6a51a0
andialbrecht
committed
e6a51a0
View commit details
Copy full SHA for e6a51a0
View code at this point
Browse repository at this point
Commits on Oct 21, 2015
Speed up token_index by providing a starting index.
rygwdn
committed
2bde1b9
View commit details
Copy full SHA for 2bde1b9
View code at this point
Browse repository at this point
Limit number of tokens checked in group_identifier.
Show description for 848973f
rygwdn
committed
848973f
View commit details
Copy full SHA for 848973f
View code at this point
Browse repository at this point
Commits on Jul 26, 2015
Ignore comments at beginning of statement when calling Statement.get_type (fixes #186).
andialbrecht
committed
fb6b59d
View commit details
Copy full SHA for fb6b59d
View code at this point
Browse repository at this point
Commits on Apr 19, 2015
Improve detection of aliased identifiers (fixes #185).
andialbrecht
committed
d9b717a
View commit details
Copy full SHA for d9b717a
View code at this point
Browse repository at this point
Commits on Mar 4, 2015
Group square-brackets into identifiers
Show description for b61fe36
darikg
committed
b61fe36
View commit details
Copy full SHA for b61fe36
View code at this point
Browse repository at this point
Parse square brackets as a group just like parens
Show description for a93029f
darikg
committed
a93029f
View commit details
Copy full SHA for a93029f
View code at this point
Browse repository at this point
Commits on Feb 9, 2015
Move get_parent_name() from Identifer to TokenList (so Function can use it)
darikg
committed
eb6ee3c
View commit details
Copy full SHA for eb6ee3c
View code at this point
Browse repository at this point
get_name() uses _get_first_name()
darikg
committed
b8cb68c
View commit details
Copy full SHA for b8cb68c
View code at this point
Browse repository at this point
get_alias() uses _get_first_name(), and searches in reverse for "column expression alias"
darikg
committed
d29cade
View commit details
Copy full SHA for d29cade
View code at this point
Browse repository at this point
TokenList convenience method _get_first_name
darikg
committed
8a23215
View commit details
Copy full SHA for 8a23215
View code at this point
Browse repository at this point
Commits on Feb 8, 2015
(postgresql) Add support for square bracket array indexing, by darikg.
Show description for e1b5482
andialbrecht
committed
e1b5482
View commit details
Copy full SHA for e1b5482
View code at this point
Browse repository at this point
Commits on Jan 16, 2015
Improve parsing of inline comments for identifiers (fixes #163).
andialbrecht
committed
a17db7a
View commit details
Copy full SHA for a17db7a
View code at this point
Browse repository at this point
Commits on Feb 5, 2014
Fix Function.get_parameters() returning empty list for SQL functions that have a single nested function as a param
spigwitmer
committed
cb4aff9
View commit details
Copy full SHA for cb4aff9
View code at this point
Browse repository at this point
Commits on Feb 4, 2014
Fix Function.get_parameters() with 1 literal as its parameter
spigwitmer
committed
f00a59e
View commit details
Copy full SHA for f00a59e
View code at this point
Browse repository at this point
Commits on Nov 19, 2013
Support for BEGIN/END blocks, add FOREACH keyword.
andialbrecht
committed
f871291
View commit details
Copy full SHA for f871291
View code at this point
Browse repository at this point
Commits on Oct 24, 2013
Improve grouping of expressions (targets #23).
andialbrecht
committed
c08c750
View commit details
Copy full SHA for c08c750
View code at this point
Browse repository at this point
Commits on Aug 30, 2013
Add skip_ws flag to Token.insert_after (fixes #108).
andialbrecht
committed
32ab737
View commit details
Copy full SHA for 32ab737
View code at this point
Browse repository at this point
Commits on May 9, 2013
Fixed Function.get_parameters (issue93).
kilowu
committed
4a4b00e
View commit details
Copy full SHA for 4a4b00e
View code at this point
Browse repository at this point
Commits on Apr 5, 2013
Add order criterion to identifier in ORDER BY clause (fixes #89).
andialbrecht
committed
341143e
View commit details
Copy full SHA for 341143e
View code at this point
Browse repository at this point
Commits on Feb 28, 2013
Add minimal changes to support Python 2.4.
Show description for 5813478
andialbrecht
committed
5813478
View commit details
Copy full SHA for 5813478
View code at this point
Browse repository at this point
Commits on Jan 27, 2013
Helper function to return a token at a specific offset.
andialbrecht
committed
f6c3a0f
View commit details
Copy full SHA for f6c3a0f
View code at this point
Browse repository at this point
Commits on Jan 1, 2013
Doc updates.
andialbrecht
committed
d298f83
View commit details
Copy full SHA for d298f83
View code at this point
Browse repository at this point
Commits on Dec 31, 2012
Python 3 is now fully supported without any patches.
Show description for a25569e
andialbrecht
committed
a25569e
View commit details
Copy full SHA for a25569e
View code at this point
Browse repository at this point
Commits on Nov 12, 2012
Remove superfluous cleanup conditions.
andialbrecht
committed
9ef2a8e
View commit details
Copy full SHA for 9ef2a8e
View code at this point
Browse repository at this point
Commits on Nov 3, 2012
Improve handling of quoted indentifiers (fixes issue78).
andialbrecht
committed
39ddba7
View commit details
Copy full SHA for 39ddba7
View code at this point
Browse repository at this point
Commits on Aug 12, 2012
Encode value when reprinting the object.
andialbrecht
committed
ff5c247
View commit details
Copy full SHA for ff5c247
View code at this point
Browse repository at this point
Commits on May 19, 2012
Merge branch 'master' into antiorm
Show description for 59bfe75
piranna
committed
59bfe75
View commit details
Copy full SHA for 59bfe75
View code at this point
Browse repository at this point
Commits on May 15, 2012
Removed debug code
piranna
committed
c45e0c6
View commit details
Copy full SHA for c45e0c6
View code at this point
Browse repository at this point
Commits on Apr 28, 2012
Some little optimizations
piranna
committed
52e02fd
View commit details
Copy full SHA for 52e02fd
View code at this point
Browse repository at this point
Commits on Apr 21, 2012
various optimizations in sql.py
quest
committed
a16c087
View commit details
Copy full SHA for a16c087
View code at this point
Browse repository at this point
Commits on Apr 19, 2012
TokenLists.value is equal to their unicode() representation (fixes #30).
andialbrecht
committed
5d4c146
View commit details
Copy full SHA for 5d4c146
View code at this point
Browse repository at this point
Pretty format comments in identifier lists (fixes issue59).
andialbrecht
committed
e4bccf4
View commit details
Copy full SHA for e4bccf4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.