Skip to main content

write_all_rows

Function write_all_rows 

Source
pub fn write_all_rows<E, I>(
    encoder: &mut E,
    columns: &[String],
    rows: I,
) -> Result<u64>
where E: RowEncoder, I: IntoIterator<Item = Row>,
Expand description

Convenience: drive any RowEncoder through a row iterator and return how many rows were written. Used by [super::import] and can also be called directly when a caller already has a materialized result in hand.