row_to_values

Function row_to_values 

Source
pub fn row_to_values(
    row: &Row,
    column_types: &[(String, String)],
) -> Vec<Box<dyn ToSql + Sync + Send>>
Expand description

Convert a tokio_postgres Row to a vector of boxed ToSql values.

This is a helper for extracting values from source rows to pass to ChangeWriter. The caller must know the column types to extract values correctly.