Swoole
PHP Manual

The Swoole\Table class

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

Introduction

Synopsis de la classe

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

Constantes pré-définies

Swoole\Table::TYPE_INT

Swoole\Table::TYPE_STRING

Swoole\Table::TYPE_FLOAT

Sommaire


Swoole
PHP Manual