pub fn parse_view_sql(sql: &str) -> Option<String>Available on crate feature
std only.Expand description
Parse a view SQL to extract the definition.
Finds the top-level AS keyword — quote-aware (so a view named
"my as view" doesn’t split early) and paren-aware (so a column-name list
CREATE VIEW v(a, b) AS ... is skipped over).