Open andygrove opened 4 years ago
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>; }
Some databases support queries that return multiple result sets. This could be modeled roughly like this pseudo code?