github.com/jackc/pgx/v5/pgconn.CommandTag.RowsAffected (method)

3 uses

	github.com/jackc/pgx/v5/pgconn (current package)
		pgconn.go#L812: func (ct CommandTag) RowsAffected() int64 {

	github.com/jackc/pgx/v5
		copy_from.go#L214: 	return commandTag.RowsAffected(), err

	github.com/jackc/pgx/v5/tracelog
		tracelog.go#L272: 		tl.log(ctx, conn, LogLevelInfo, "CopyFrom", map[string]any{"tableName": copyFromData.TableName, "columnNames": copyFromData.ColumnNames, "err": data.Err, tl.Config.TimeKey: interval, "rowCount": data.CommandTag.RowsAffected()})