The Swoole\Table class

(PECL swoole >= 1.9.0)

Introduction

Class synopsis

Swoole\Table implements Iterator , Countable {
/* Constants */
const integer TYPE_INT = 1 ;
const integer TYPE_STRING = 7 ;
const integer TYPE_FLOAT = 6 ;
/* Methods */
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
}

Predefined Constants

Swoole\Table::TYPE_INT

Swoole\Table::TYPE_STRING

Swoole\Table::TYPE_FLOAT

Table of Contents