Swoole\Table->exists

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

Parameters

key

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

Return

Description

Check if a row is exsits by the key column value of the row.

Example