The Swoole\Table class

Introduction

Class synopsis

Swoole\Table
class Swoole\Table implements Iterator, Countable {
/* Constants */
const int Swoole\Table::TYPE_INT = 1;
const int Swoole\Table::TYPE_STRING = 7;
const int Swoole\Table::TYPE_FLOAT = 6;
/* Methods */
public ReturnType column(string $name, string $type, int $size = ?)
public int count()
public void create()
public array current()
public ReturnType decr(string $key, string $column, int $decrby = ?)
public void del(string $key)
public void destroy()
public bool exist(string $key)
public int get(string $row_key, string $column_key)
public void incr(string $key, string $column, int $incrby = ?)
public string key()
public ReturnType next()
public void rewind()
public VOID set(string $key, array $value)
public bool valid()
}

Predefined Constants

Swoole\Table::TYPE_INT

Swoole\Table::TYPE_STRING

Swoole\Table::TYPE_FLOAT

Table of Contents