Swoole\Table::column

Set the data type and size of the columns.

Description

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

Parameters

name

Specify the name of the field.

type

Specify the field type.

size

Specify the maximum length of the string field.

Return Values