The Swoole\Table class

(PECL swoole >= 1.9.0)

Introduction

Class synopsis

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

Table of Contents

add a note

User Contributed Notes

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