Function serde_rusqlite::to_params_named
source · pub fn to_params_named<S: Serialize>(obj: S) -> Result<NamedParamSlice>
Expand description
Serializes an instance of S: serde::Serialize
into structure for named bound query arguments
To get the slice suitable for supplying to query_named()
or execute_named()
call to_slice()
on the Ok
result
and borrow it.