Skip to main content

encode_copy_row

Function encode_copy_row 

Source
pub fn encode_copy_row(
    values: &[&dyn ToSql],
    buf: &mut BytesMut,
) -> Result<(), Error>
Expand description

Encodes one binary-format COPY row: an Int16 field count followed by each field as an Int32 length (or -1 for NULL) and its bytes.