array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'swoole-table.column.php', 1 => 'Swoole\\Table::column', 2 => 'Set the data type and size of the columns.', ), 'up' => array ( 0 => 'class.swoole-table.php', 1 => 'Swoole\\Table', ), 'prev' => array ( 0 => 'class.swoole-table.php', 1 => 'Swoole\\Table', ), 'next' => array ( 0 => 'swoole-table.construct.php', 1 => 'Swoole\\Table::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/table/column.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Table::column

(PECL swoole >= 1.9.0)

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

説明

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

パラメータ

name

Specify the name of the field.

type

Specify the field type.

size

Specify the maximum length of the string field.

戻り値