Bigtable/src/Table.php
public function mutateRows(array $rowMutations, array $options = [])
    {
        if (!$this->isAssoc($rowMutations)) {
            throw new \InvalidArgumentException(
                'Expected rowMutations to be of type associative array, instead got list.'
            );
        }
        $entries = [];
        foreach ($rowMutations as $rowKey => $mutations) {
            $entries[] = $this->toEntry($rowKey, $mutations);
        }
        $this->mutateRowsWithEntries($entries, $options);
    }
public function mutateRows(array $rowMutations, array $options = [])
    {
        if (!$this->isAssoc($rowMutations)) {
            throw new \InvalidArgumentException(
                'Expected rowMutations to be of type associative array, instead got list.'
            );
        }
        $entries = [];
        foreach ($rowMutations as $rowKey => $mutations) {
            $entries[] = $this->toEntry($rowKey, $mutations);
        }
        $this->mutateRowsWithEntries($entries, $options);
    }
public function mutateRows ( array $ rowMutations , array $ options = [ ] ) { if ( ! $ this -> isAssoc ( $ rowMutations ) ) { throw new \ InvalidArgumentException ( 'Expected rowMutations to be of type associative array, instead got list.' ) ; } $ entries = [ ] ; foreach ( $ rowMutations as $ rowKey => $ mutations ) { $ entries [ ] = $ this -> toEntry ( $ rowKey , $ mutations ) ; } $ this -> mutateRowsWithEntries ( $ entries , $ options ) ; }
Mutates rows in a table.

Example:
```
use Google\Cloud\Bigtable\Mutations;

$mutations = (new Mutations)
->upsert('cf1', 'cq1', 'value1', 1534183334215000);

$table->mutateRows(['r1' => $mutations]);
```

@param array $rowMutations An associative array with the key being the
row key and the value being the
{@see Google\Cloud\Bigtable\Mutations} to perform.
@param array $options [optional] Configuration options.
@return void
@throws ApiException|BigtableDataOperationException If the remote call fails or operation fails.
@throws InvalidArgumentException If rowMutations is a list instead of associative array indexed by row key.
Mutates rows in a table .