Swoole\Table\Row->offsetSet

Notice: ext-swoole is supported until v4.7.1, use ext-openswoole >= v4.7.1. Latest version: pecl install openswoole-4.9.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