pub fn split_queries(
queries: &str,
) -> impl Iterator<Item = Result<&str, SplitQueriesError>>Expand description
Split SQL script into list of queries. Each query needs to be terminated with semicolon (“;”). Lines starting with two dashes (“–”) are skipped.