Commit 448800b2 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-46: Prototypes for index enumeration method

parent 495e46d4
...@@ -939,6 +939,18 @@ class Collection ...@@ -939,6 +939,18 @@ class Collection
return new InsertOneResult($wr, $id); return new InsertOneResult($wr, $id);
} }
/**
* Returns information for all indexes in the collection.
*
* @see http://docs.mongodb.org/manual/reference/command/listIndexes/
* @see http://docs.mongodb.org/manual/reference/method/db.collection.getIndexes/
* @return Result
*/
public function listIndexes()
{
// TODO
}
/** /**
* Replace one document * Replace one document
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment