pub fn parse_sql(query: &str) -> Result<Statement, ParseError>Expand description
Parse a single SQL statement (SELECT or DDL: CREATE SCHEMA / CREATE DATABASE / DROP TABLE/VIEW/SCHEMA).
Returns the sqlparser::ast::Statement on success. Only one statement per call; run one statement at a time.