pub fn parse_first_statement_with_tail(
sql: &str,
) -> Result<Option<(Statement, usize)>, ParseError>Expand description
Parse only the first top-level SQL statement from sql and report the byte
offset immediately after the consumed statement text.
Returns Ok(None) when the input contains no statement text (for example
whitespace, comments, or empty statements only). The returned tail offset is
suitable for sqlite3_prepare_v2-style APIs that must leave any remaining
SQL untouched.