Skip to content

Statement should support executing query that returns multiple result sets #56

Open
@andygrove

Description

@andygrove

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>;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions