Commit fe26083c authored by Jeremy Mikola's avatar Jeremy Mikola

Clarify that createIndex() argument mixes index and command options

parent aaec5d5a
...@@ -277,7 +277,7 @@ class Collection ...@@ -277,7 +277,7 @@ class Collection
* @see CreateIndexes::__construct() for supported command options * @see CreateIndexes::__construct() for supported command options
* @param array|object $key Document containing fields mapped to values, * @param array|object $key Document containing fields mapped to values,
* which denote order or an index type * which denote order or an index type
* @param array $options Index options * @param array $options Index and command options
* @return string The name of the created index * @return string The name of the created index
* @throws UnsupportedException if options are not supported by the selected server * @throws UnsupportedException if options are not supported by the selected server
* @throws InvalidArgumentException for parameter/option parsing errors * @throws InvalidArgumentException for parameter/option parsing errors
......
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