github.com/jackc/pgx/v4.copyFrom.columnNames (field)
8 uses
github.com/jackc/pgx/v4 (current package)
copy_from.go#L86: columnNames []string
copy_from.go#L94: for i, cn := range ct.columnNames {
copy_from.go#L159: ct.conn.log(ctx, LogLevelInfo, "CopyFrom", map[string]interface{}{"tableName": ct.tableName, "columnNames": ct.columnNames, "time": endTime.Sub(startTime), "rowCount": rowsAffected})
copy_from.go#L162: ct.conn.log(ctx, LogLevelError, "CopyFrom", map[string]interface{}{"err": err, "tableName": ct.tableName, "columnNames": ct.columnNames})
copy_from.go#L175: if len(values) != len(ct.columnNames) {
copy_from.go#L176: return false, nil, fmt.Errorf("expected %d values, got %d values", len(ct.columnNames), len(values))
copy_from.go#L179: buf = pgio.AppendInt16(buf, int16(len(ct.columnNames)))
copy_from.go#L205: columnNames: columnNames,
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |