Skip to main content

visit_postgres_copy_rows_with

Function visit_postgres_copy_rows_with 

Source
pub fn visit_postgres_copy_rows_with<F>(
    data: &[u8],
    schema: &TableSchema,
    column_order: Vec<String>,
    extraction: RowExtraction,
    f: F,
) -> Result<()>
Expand description

Stream the rows of a COPY data block to a visitor, one at a time, without building a block-sized Vec. f returns a RowFlow to stop early.