Swoole\Table\Row->offsetSet

Notice: the documentation is suitable for PHP extension swoole until v4.7.1, we only support PHP extension openswoole from v4.7.1

Declaration

<?php
Swoole\Table\Row->offsetSet(string $key, array $values )

Parameters

key

The key value of the column, the value of the first column.

values

The values of a row.

Return

Description

Update a row of the table by the offset of the row.

For performance reason, from v4.7.0, this method is removed.

Example