Skip to main content

decode_copy_input

Function decode_copy_input 

Source
pub fn decode_copy_input(
    bytes: &[u8],
    options: &CopyOptions,
    expected_columns: &[String],
) -> Result<Vec<Vec<CopyInputField>>, SQLError>
Expand description

Decode a complete text or CSV COPY stream into rows.