\rex_sql_index

Class to represent sql indexes.

Summary

Methods
Properties
Constants
__construct()
setModified()
isModified()
setName()
getName()
setType()
getType()
setColumns()
getColumns()
equals()
No public properties found
INDEX
UNIQUE
FULLTEXT
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

INDEX

INDEX = 'INDEX'

UNIQUE

UNIQUE = 'UNIQUE'

FULLTEXT

FULLTEXT = 'FULLTEXT'

Methods

__construct()

__construct(string  $name, \list<string>  $columns, mixed  $type = self::INDEX) : mixed

Parameters

string $name
\list $columns
mixed $type

Returns

mixed —

setModified()

setModified(bool  $modified) : $this

Parameters

bool $modified

Returns

$this —

isModified()

isModified() : bool

Returns

bool —

setName()

setName(string  $name) : $this

Parameters

string $name

Returns

$this —

getName()

getName() : string

Returns

string —

setType()

setType(mixed  $type) : $this

Parameters

mixed $type

Returns

$this —

getType()

getType() : mixed

Returns

mixed —

setColumns()

setColumns(\list<string>  $columns) : $this

Parameters

\list $columns

Returns

$this —

getColumns()

getColumns() : \list<string>

Returns

\list

equals()

equals(self  $index) : bool

Parameters

self $index

Returns

bool —