Function servers::mysql::helper::convert_value
source · pub fn convert_value(
param: &ParamValue<'_>,
t: &ConcreteDataType,
) -> Result<ScalarValue>
Expand description
Convert [ParamValue
] into [Value
] according to param type.
It will try it’s best to do type conversions if possible