Spanner/src/BatchDmlResult.php
public function rowCounts()
    {
        if (!$this->rowCounts) {
            foreach ($this->data['resultSets'] as $resultSet) {
                $this->rowCounts[] = $resultSet['stats']['rowCountExact'];
            }
        }

        return $this->rowCounts;
    }
public function rowCounts()
    {
        if (!$this->rowCounts) {
            foreach ($this->data['resultSets'] as $resultSet) {
                $this->rowCounts[] = $resultSet['stats']['rowCountExact'];
            }
        }

        return $this->rowCounts;
    }
public function rowCounts ( ) { if ( ! $ this -> rowCounts ) { foreach ( $ this -> data [ 'resultSets' ] as $ resultSet ) { $ this -> rowCounts [ ] = $ resultSet [ 'stats' ] [ 'rowCountExact' ] ; } } return $ this -> rowCounts ; }
Get a list of integers indicating the number of modified rows for each
successful statement.

Example:
```
$counts = $batchDmlResult->rowCounts();
```

@return int[]
Get a list of integers indicating the number of modified rows for each successful statement .