Skip to main content

parse

Function parse 

Source
pub fn parse(sql: &str) -> Statement
Expand description

Parse a SQL string into a Statement.

The parser inspects only the leading tokens of the query, so for multi-statement input it classifies by the first statement — the same convention every proxy-level parser uses.