This PR adds a method to allow users to get a column by index or by name for any type that implements serde::de::DeserializeOwned. This is helpful as it opens up many new types to the crate.
For example:
If a user whats to get dates with chrono they can use:
result.get_serde::<NaiveDate>(col_index);
When the type is not able to be parsed errors show the type_resquested as follows:
This PR adds a method to allow users to get a column by index or by name for any type that implements
serde::de::DeserializeOwned
. This is helpful as it opens up many new types to the crate.For example:
If a user whats to get dates with chrono they can use:
When the type is not able to be parsed errors show the
type_resquested
as follows: