Swoole\Table::column
PHP Manual
PHP Manual»Swoole\Table»Swoole\Table::column

Swoole\Table::column

(PECL swoole >= 1.9.0)

Swoole\Table::columnSet the data type and size of the columns.

Beschreibung

public function Swoole\Table::column(string $name, string $type, int $size = ?): bool

Parameter-Liste

name

Specify the name of the field.

type

Specify the field type.

size

Specify the maximum length of the string field.

Rückgabewerte

To Top