tiberius icon indicating copy to clipboard operation
tiberius copied to clipboard

Get TokenRow from Row

Open lpj145 opened this issue 1 year ago • 4 comments

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

lpj145 avatar Feb 17 '24 15:02 lpj145

@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
    }
}

lpj145 avatar Feb 17 '24 15:02 lpj145

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

tomhoule avatar Feb 19 '24 07:02 tomhoule

This pull request is very much needed

Thanks @lpj145

setenum avatar Apr 15 '24 02:04 setenum

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

pimeys avatar Apr 15 '24 18:04 pimeys