Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose column spec information for the _iter interface #336

Closed
piodul opened this issue Nov 12, 2021 · 2 comments
Closed

Expose column spec information for the _iter interface #336

piodul opened this issue Nov 12, 2021 · 2 comments

Comments

@piodul
Copy link
Collaborator

piodul commented Nov 12, 2021

Related to #271.

In #276, information about column names became available for the results of Session::query and Session::execute through the QueryResult::col_specs field.

We should also expose this information through the iterator object returned by Session::query_iter and Session::execute_iter methods.

@cvybhu
Copy link
Contributor

cvybhu commented Nov 12, 2021

I implemented it when adding query_all to Session, but eventually these changes were dropped.
There is a commit on this branch: https://github.com/cvybhu/scylla-rust-driver/commits/queryall-backup:

cvybhu@6bf7182

@piodul
Copy link
Collaborator Author

piodul commented Dec 3, 2021

Fixed by b46f913

@piodul piodul closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants