Skip to main content

owned_params_to_refs

Function owned_params_to_refs 

Source
pub fn owned_params_to_refs(owned: &[OwnedParam]) -> Vec<&(dyn ToSql + Sync)>
Expand description

Convert a slice of OwnedParam to a vec of trait-object references suitable for passing to tokio_postgres query methods.