pub fn to_params<T: ?Sized, DF: DbvFactory>(
value: &T,
metadata: &[DF]
) -> Result<Vec<DF::DBV>, SerializationError>where
T: Serialize,
Expand description
Provided method that translates the input into a Vec of database values.
Database drivers use this method in their implementation (e.g. behind a
PreparedStatement::add_batch()
).