Statement should support executing query that returns multiple result sets
andygrove opened this issue · 0 comments
andygrove commented
Some databases support queries that return multiple result sets. This could be modeled roughly like this pseudo code?
trait Statement {
fn execute_query() -> impl Stream<ResultSet>;
}
trait ResultSet {
fn get_meta_data() -> ResultSetMetaData;
fn get_rows() -> impl Stream<Row>;
}