SunshinePHP 2019

The Swoole\Table class

(PHP 5 >= 5.2.0, PHP 7, 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 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 )
}

Predefined Constants

Swoole\Table::TYPE_INT

Swoole\Table::TYPE_STRING

Swoole\Table::TYPE_FLOAT

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top