PHP Conference Nagoya 2025

The Swoole\Table class

(PECL swoole >= 1.9.0)

简介

类摘要

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

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top