Pike v8.1 release 6

Method Sql.pgsql_util.sql_result()->send_row()


Method send_row

final void send_row(void|string|array(string) copydata)

Parameter copydata

When using COPY FROM STDIN, this method accepts a string or an array of strings to be processed by the COPY command; when sending the amount of data sent per call does not have to hit row or column boundaries.

The COPY FROM STDIN sequence needs to be completed by either explicitly or implicitly destroying the result object, or by passing no argument to this method.

See also

fetch_row(), eof()