IndexColumn
class IndexColumn (View source)
Index column wrapper
Methods
No description
If the Index has an expression
The Index expression if it has one
Sets parameters of the index column
Returns the column name
Return the column collation
Returns the cardinality of the column
Returns the text whether the column is nullable
No description
Returns the sequence number of the column in the index
Returns the number of indexed characters if the column is only partly indexed
Gets the properties in an array for comparison purposes
Details
__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