Swoole Swoole\Table 클래스

(PECL swoole >= 1.9.0)


소개


클래스 개요

                  
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 = ?): 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
}
                  
                

미리 정의된 상수

Swoole\Table::TYPE_INT
Swoole\Table::TYPE_STRING
Swoole\Table::TYPE_FLOAT

목차