Skip to main content

copy_rows

Function copy_rows 

Source
pub fn copy_rows(
    src: &mut dyn Connection,
    src_backend: Backend,
    dst: &mut dyn Connection,
    dst_backend: Backend,
    opts: &CopyOptions,
) -> Result<usize, SqlError>
Expand description

Stream rows from src to dst per opts. Returns the number of rows inserted into the target.