simple-sql-parser icon indicating copy to clipboard operation
simple-sql-parser copied to clipboard

Include token positions into AST

Open yaitskov opened this issue 4 years ago • 1 comments

Token positions are required to preserve original expression formatting after refactoring - modified AST is transformed back to SQL source.

yaitskov avatar Oct 31 '21 13:10 yaitskov

Transforming SQL and maintaining the formatting of the unchanged bits (and preserving comments) is something I've wished I've had on many occasions, so I think this would be a great feature.

JakeWheat avatar Nov 30 '21 09:11 JakeWheat