Skip to content

Get TokenRow from Row#331

Open
lpj145 wants to merge 2 commits into
prisma:mainfrom
lpj145:main
Open

Get TokenRow from Row#331
lpj145 wants to merge 2 commits into
prisma:mainfrom
lpj145:main

Conversation

@lpj145

@lpj145 lpj145 commented Feb 17, 2024

Copy link
Copy Markdown

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

lpj145 commented Feb 17, 2024

Copy link
Copy Markdown
Author

@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
Copy Markdown
Contributor

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

@ghost

ghost commented Apr 15, 2024

Copy link
Copy Markdown

This pull request is very much needed

Thanks @lpj145

@pimeys

pimeys commented Apr 15, 2024

Copy link
Copy Markdown
Contributor

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.

3 participants