class IndexColumn (View source)

Index column wrapper

Methods

__construct(array $params = [])

No description

bool
hasExpression()

If the Index has an expression

string|null
getExpression()

The Index expression if it has one

void
set(array $params)

Sets parameters of the index column

string
getName()

Returns the column name

string|null
getCollation()

Return the column collation

int|null
getCardinality()

Returns the cardinality of the column

string
getNull()

Returns the text whether the column is nullable

bool
isNullable()

No description

int
getSeqInIndex()

Returns the sequence number of the column in the index

int|null
getSubPart()

Returns the number of indexed characters if the column is only partly indexed

array
getCompareData()

Gets the properties in an array for comparison purposes

Details

__construct(array $params = [])

No description

Parameters

array $params

an array containing the parameters of the index column

bool hasExpression()

If the Index has an expression

Return Value

bool

string|null getExpression()

The Index expression if it has one

Return Value

string|null

void set(array $params)

Sets parameters of the index column

Parameters

array $params

an array containing the parameters of the index column

Return Value

void

string getName()

Returns the column name

Return Value

string

column name

string|null getCollation()

Return the column collation

Return Value

string|null

column collation

int|null getCardinality()

Returns the cardinality of the column

Return Value

int|null

cardinality of the column

string getNull()

Returns the text whether the column is nullable

Return Value

string

bool isNullable()

No description

Return Value

bool

int getSeqInIndex()

Returns the sequence number of the column in the index

Return Value

int

sequence number of the column in the index

int|null getSubPart()

Returns the number of indexed characters if the column is only partly indexed

Return Value

int|null

the number of indexed characters

array getCompareData()

Gets the properties in an array for comparison purposes

Return Value

array