pub fn try_parse_pragma(sql: &str) -> Result<Option<PragmaStatement>>Expand description
Returns Ok(Some(stmt)) when sql is a PRAGMA statement,
Ok(None) otherwise. Errors only when the input is shaped like
PRAGMA … but malformed — that path used to surface as a sqlparser
ParserError; with this module taking over, the error becomes a
typed SQLRiteError::General so SDK consumers see a stable shape.