Module csv_export

Module csv_export 

Source
Expand description

Export table data to CSV files or writers.

The functions here wrap CsvWriter for common export scenarios so callers can pipe table rows directly into a file or any Write implementor, optionally applying filters or projections.

Structs§

CsvExportColumn
Column specification for CSV export.
CsvWriteOptions
Configuration for writing CSV files.
CsvWriter
Builder-style helper for writing CSV data from a table.

Functions§

export_csv_from_table
Materialize a table scan into a CSV file using column projections.
export_csv_from_table_with_filter
Export a filtered table scan to a CSV file.
export_csv_from_table_with_projections
Export a table scan driven by explicit projections (expressions or columns) into a file.
export_csv_to_writer_with_filter
Stream a filtered table scan into an arbitrary writer.
export_csv_to_writer_with_projections
Export a projected table scan into an arbitrary writer.