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

Get TokenRow from Row #331

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Get TokenRow from Row #331

wants to merge 2 commits into from

Conversation

lpj145
Copy link

@lpj145 lpj145 commented Feb 17, 2024

We're working with stream out from sql server, this implementation will improve it a lot.

We're working with stream out from sql server, this implementation will improve it a lot.
@lpj145
Copy link
Author

lpj145 commented Feb 17, 2024

@tomhoule please take a look at this, it's very simple.

With that way we should achieve something like this interation:

let sql_meta: ResultMetadata;
let token_row : TokenRow = stream.into();
for column_index in sql_meta.columns().len() {
    match token_row.get(column_index) {
      // match column data types
    }
}

@tomhoule
Copy link
Contributor

Unfortunately I'm not the owner of this crate anymore.

@setenum
Copy link

setenum commented Apr 15, 2024

This pull request is very much needed

Thanks @lpj145

@pimeys
Copy link
Contributor

pimeys commented Apr 15, 2024

Unfortunately I'm also not the owner of this crate anymore either.

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.

4 participants