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
Latest version:
pecl install openswoole-22.1.2
<?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.