github.com/jackc/pgconn.PgConn.CopyFrom (method)

2 uses

	github.com/jackc/pgconn (current package)
		pgconn.go#L1152: func (pgConn *PgConn) CopyFrom(ctx context.Context, r io.Reader, sql string) (CommandTag, error) {

	github.com/jackc/pgx/v4
		copy_from.go#L150: 	commandTag, err := ct.conn.pgConn.CopyFrom(ctx, r, fmt.Sprintf("copy %s ( %s ) from stdin binary;", quotedTableName, quotedColumnNames))