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