Swoole\Table::column
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Set the data type and size of the columns.
Description
Swoole\Table::column(string $name, string $type, [int $size]): bool
Parameters
nameSpecify the name of the field.
typeSpecify the field type.
sizeSpecify the maximum length of the string field.