[−][src]Function odbc_iter::split_queries
pub fn split_queries(
queries: &str
) -> impl Iterator<Item = Result<&str, SplitQueriesError>>
Split SQL script into list of queries. Each query needs to be terminated with semicolon (";"). Lines starting with two dashes ("--") are skipped.