ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Class Phalcon\\Db\\Index # Class **Phalcon\\Db\\Index** *implements*[*Phalcon\\Db\\IndexInterface*](#) 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, *unknown* $columns, \[*unknown* $type\]) Phalcon\\Db\\Index constructor public static **\_\_set\_state** (*unknown* $data) Restore a Phalcon\\Db\\Index object from export | - [索引](# "总目录") - [下一页](# "Class Phalcon\Db\Profiler") | - [上一页](# "Class Phalcon\Db\Exception") | - [API Indice](#) »