Swoole\Table->decr

Declaration

<?php
Swoole\Table->decr(string $key, string $column [, int $decrby])

Parameters

key

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

column

The column name to update.

decrby

Reduce by the value.

Return

Description

Reduce the value of the column by one.

Example