MongoCollection
PHP Manual

MongoCollection::getIndexInfo

(PECL mongo >=0.9.0)

MongoCollection::getIndexInfoReturns an array of index names for this collection

说明

public array MongoCollection::getIndexInfo ( void )

参数

此函数没有参数。

返回值

Returns a list of index names.


MongoCollection
PHP Manual