Join 4,000+ others and never miss out on new tips, tutorials, and more.
4.x is outdated, please check the latest version 22.x
pecl install openswoole-22.0.0
<?php Swoole\Table->incr(string $key, string $column, int $incrBy = 1): int
The key value of the column, the value of the first column.
The column name to update.
Increase by the value.
In the case of using
Table to save counters.
Increase the value of the column by one.