Function Queries.putCopyData

Sends a buffer of CSV data to the COPY command

bool putCopyData (
  string data
);

Returns

true if the data was queued, false if it was not queued because of full buffers (this will only happen in nonblocking mode)