(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
类摘要
Swoole\Table
implements
Iterator
,
Countable
{
public ReturnType column
(
string $name
,
string $type
[,
integer $size
] )
public integer count
(
void
)
public ReturnType decr
(
string $key
,
string $column
[,
integer $decrby
] )
public void del
(
string $key
)
public boolean exist
(
string $key
)
public integer get
(
string $row_key
,
string $column_key
)
public void incr
(
string $key
,
string $column
[,
integer $incrby
] )
public string key
(
void
)
public ReturnType next
(
void
)
public VOID set
(
string $key
,
array $value
)
public boolean valid
(
void
)
}
预定义常量
Swoole\Table::TYPE_INT
-
Swoole\Table::TYPE_STRING
-
Swoole\Table::TYPE_FLOAT
-