The Swoole\Table class
(PECL swoole >= 1.9.0)
类摘要
Swoole\Table
implements
Iterator
,
Countable
{
public column
(
string $name
,
string $type
[,
int $size
] ) :
ReturnType
public decr
(
string $key
,
string $column
[,
int $decrby
] ) :
ReturnType
public del
(
string $key
) :
void
public exist
(
string $key
) :
bool
public get
(
string $row_key
,
string $column_key
) :
int
public incr
(
string $key
,
string $column
[,
int $incrby
] ) :
void
public next
(
) :
ReturnType
public set
(
string $key
,
array $value
) :
VOID
}
预定义常量
Swoole\Table::TYPE_INT
-
Swoole\Table::TYPE_STRING
-
Swoole\Table::TYPE_FLOAT
-
Table of Contents