70 $this->
output =
static function ( $text ) {
78 foreach ( $this->reader as $rows ) {
80 foreach ( $rows as $row ) {
81 $update = $this->generator->update( $row );
84 'primaryKey' => $this->reader->extractPrimaryKeys( $row ),
91 $this->
output(
"Processing " . count( $updates ) .
" rows\n" );
92 $this->writer->write( $updates );
96 $this->
output(
"Completed\n" );
121class_alias( BatchRowUpdate::class,
'BatchRowUpdate' );