tiberius icon indicating copy to clipboard operation
tiberius copied to clipboard

trivial: make `FromColumnData` public

Open agalakhov opened this issue 5 years ago • 1 comments

This makes FromColumnData trait accessible to the caller so that wrappers around get() and try_get() can be written.

Signed-off-by: Alexey Galakhov [email protected]

agalakhov avatar Oct 17 '19 20:10 agalakhov

This is an extremely valuable change. So much so that I tried this fork. QueryRow parsing for tables with long and heterogeneous columns is a mess of explicit types and unwraps. Being able to implement a wrapper (generics, anyone? ;] ) would be a game changer.

Sneagan avatar Feb 14 '20 15:02 Sneagan