Swoole\Table->del

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->del(string $key): bool

Parameters

key

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

Return

Description

In the case of using Table to save counters.

Delete a row by key value

Example