jDbIndex

Represents an index on some columns

package

jelix

Methods

jDbIndex constructor.

__construct(string $name,  $type = '', array<mixed,string> $columns = array()) 

Arguments

$name

string

the index name

$type

$columns

array<mixed,string>

the list of column names

Properties

the index name

name : string
var

the index name

Type(s)

string

the type of index : 'btree', 'hash'.

type : string

..

var

Type(s)

string

list of indexed columns

columns : array<mixed,string>
var

list of indexed columns

Type(s)

array<mixed,string>

isUnique

isUnique : 

Type(s)