Skip to content

Commit

Permalink
Fix README (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
git-hulk authored Sep 6, 2024
1 parent d1c774f commit 04f353e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
query := "SELECT * FROM clickhouse"
parser := clickhouse.NewParser(query)
// Parse query into AST
statements, err := parser.ParseStatements()
statements, err := parser.ParseStmts()
if err != nil {
return nil, err
}
Expand All @@ -48,7 +48,7 @@ $ clickhouse-sql-parser -file ./test.sql
```Go
parser := clickhouse.NewParser("SELECT * FROM clickhouse")
// Parse query into AST
statements, err := parser.ParseStatements()
statements, err := parser.ParseStmts()
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 04f353e

Please sign in to comment.