International PHP Conference Munich 2025

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.

返回值

添加备注

用户贡献的备注

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