Skip to content

Support for multiple result sets #108

@ekstrom

Description

@ekstrom

It would be useful to have support for multiple result sets.

Example code:

query = "SELECT 1 AS 'first_result_set'; SELECT 2 AS 'second_result_set';"
Tds.query!(pid, query, [])

Expected result:

[%Tds.Result{columns: ["first_result_set"], num_rows: 1, rows: [[1]]}, %Tds.Result{columns: ["second_result_set"], num_rows: 1, rows: [[2]]}]

Actual result:

%Tds.Result{columns: ["first_result_set"], num_rows: 1, rows: [[1]]}

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