Skip to main content

export_data

Function export_data 

Source
pub async fn export_data(
    database: &Database,
    source: &str,
    file: &Path,
    format: ExportFormat,
    query_filter: Option<&str>,
    limit: Option<usize>,
    quiet: bool,
) -> Result<()>
Expand description

Export data using true streaming execution (Issue #280)

This function uses execute_streaming() to process rows incrementally, avoiding the need to materialize all query results in memory at once.