Skip to main content

run_select_csv

Function run_select_csv 

Source
pub fn run_select_csv(
    sql: &str,
    body: &[u8],
    input: SelectInputFormat,
    output: SelectOutputFormat,
) -> Result<Vec<u8>, SelectError>
Expand description

Run a Select against a CSV-bytes body in-memory. Returns the concatenated output bytes in output format (CSV: rfc4180 single CRLF rows / JSON: one JSON-object-per-line).