The Swoole\Table class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

简介

类摘要

Swoole\Table implements Iterator , Countable {
/* Constants */
const integer TYPE_INT = 1 ;
const integer TYPE_STRING = 7 ;
const integer TYPE_FLOAT = 6 ;
/* 方法 */
public column ( string $name , string $type [, integer $size ] ) : ReturnType
public count ( void ) : integer
public create ( void ) : void
public current ( void ) : array
public decr ( string $key , string $column [, integer $decrby ] ) : ReturnType
public del ( string $key ) : void
public destroy ( void ) : 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 rewind ( void ) : void
public set ( string $key , array $value ) : VOID
public valid ( void ) : boolean
}

预定义常量

Swoole\Table::TYPE_INT

Swoole\Table::TYPE_STRING

Swoole\Table::TYPE_FLOAT

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.