Function eugene::sqltext::sql_statements
source · pub fn sql_statements(sql: &str) -> Vec<String>
Expand description
Separate SQL script into statements after stripping comments. Statements are separated by semicolons, although if we find a $$ we must scan to the matching one.