prisma / tiberius

TDS 7.2+ (Microsoft SQL Server) driver for Rust
Apache License 2.0
321 stars 118 forks source link

Make QueryIdx public #262

Open TheRustifyer opened 1 year ago

TheRustifyer commented 1 year ago

Hello. Following this issue a lot of people are interested in make the QueryIdx trait public.

By make it public, you will allow to your consumers to write generic code that can abstract the get() or try_get() implementations far beyond the actual implementations, that is monomorphize with some &str or usize those methods over Row.

Would be possible to make a public reexport of the QueryIdx trait?

pimeys commented 1 year ago

Sure, it should be an easy PR to do. Do you want to try?

TheRustifyer commented 1 year ago

Sure, it should be an easy PR to do. Do you want to try?

Oh, I completly forgot about this one. Isn't this change made yet?