mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Document that comments aren't preserved for round trip (#1060)
This commit is contained in:
parent
da2296e6d6
commit
e027b3cad2
2 changed files with 8 additions and 8 deletions
10
README.md
10
README.md
|
@ -61,12 +61,12 @@ analysis, feel free to use this project as a base.
|
|||
|
||||
## Preserves Syntax Round Trip
|
||||
|
||||
This crate allows users to recover the original SQL text (with normalized
|
||||
whitespace and keyword capitalization), which is useful for tools that
|
||||
analyze and manipulate SQL.
|
||||
This crate allows users to recover the original SQL text (with comments removed,
|
||||
normalized whitespace and keyword capitalization), which is useful for tools
|
||||
that analyze and manipulate SQL.
|
||||
|
||||
This means that other than whitespace and the capitalization of keywords, the
|
||||
following should hold true for all SQL:
|
||||
This means that other than comments, whitespace and the capitalization of
|
||||
keywords, the following should hold true for all SQL:
|
||||
|
||||
```rust
|
||||
// Parse SQL
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
//!
|
||||
//! # Creating SQL text from AST
|
||||
//!
|
||||
//! This crate allows users to recover the original SQL text (with normalized
|
||||
//! whitespace and identifier capitalization), which is useful for tools that
|
||||
//! analyze and manipulate SQL.
|
||||
//! This crate allows users to recover the original SQL text (with comments
|
||||
//! removed, normalized whitespace and identifier capitalization), which is
|
||||
//! useful for tools that analyze and manipulate SQL.
|
||||
//!
|
||||
//! ```
|
||||
//! # use sqlparser::dialect::GenericDialect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue