Function serde_rusqlite::to_params

source ·
pub fn to_params<S: Serialize>(
    obj: S
) -> Result<ParamsFromIter<PositionalParams>>
Expand description

Serializes an instance of S: serde::Serialize into structure for positional bound query arguments

To get the slice suitable for supplying to query() or execute() call to_slice() on the Ok result and borrow it.