Functionsยง
- parse_
copy_ data - Parse PostgreSQL COPY data block.
Input: the full COPY statement + data +
\.terminator. Format:COPY table FROM stdin;\nval1\tval2\n...\n\.\nReturns: Vec of rows with tab-separated values. - parse_
insert_ values - Parse the VALUES portion of an INSERT statement.
Input: the full INSERT statement bytes, e.g.
INSERT INTOtableVALUES (1,'hello',NULL),(2,'world',3.14);Returns: Vec of rows, where each row is Vec.