Skip to content

Added a method to retrieve the full list of values in a row.#1

Closed
Razican wants to merge 1 commit intoGiGainfosystems:feature/dynamic_queryfrom
Razican:row_iter
Closed

Added a method to retrieve the full list of values in a row.#1
Razican wants to merge 1 commit intoGiGainfosystems:feature/dynamic_queryfrom
Razican:row_iter

Conversation

@Razican
Copy link

@Razican Razican commented Feb 4, 2020

This implements a workaround to allow for implementing what was
suggested in diesel-rs#10 (comment).

This implements a workaround to allow for implementing what was
suggested in diesel-rs#10 (comment).
@Razican
Copy link
Author

Razican commented Feb 4, 2020

Maybe it would be nice to implement Into<Vec<I>> too, in order to avoid cloning if you don't need the row anymore.

@weiznich
Copy link
Member

weiznich commented Feb 4, 2020

I've already implemented IntoIterator for NamedRow<T>, so I'm not sure if that is that useful 😉

@Razican
Copy link
Author

Razican commented Feb 5, 2020

True, didn't notice it!

@Razican Razican closed this Feb 5, 2020
@Razican Razican deleted the row_iter branch March 9, 2020 18:57
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 this pull request may close these issues.

2 participants