Documentation

內容目录

上一个主题

< Class Phalcon\Db\Exception

下一个主题

Class Phalcon\Db\Profiler >

本页

Class Phalcon\Db\Index

implements Phalcon\Db\IndexInterface

Source on GitHub

Allows to define indexes to be used on tables. Indexes are a common way to enhance database performance. An index allows the database server to find and retrieve specific rows much faster than it could do without an index

Methods

public getName ()

Index name

public getColumns ()

Index columns

public getType ()

Index type

public __construct (unknown $name, array $columns, [unknown $type])

Phalcon\Db\Index constructor

public static __set_state (array $data)

Restore a Phalcon\Db\Index object from export

Follow along: