arg_name:paramname:$indexestype:arraydescription:|The indexes to create on the collection.For example, the following specifies a unique index on the ``username`` fieldand a compound index on the ``email`` and ``createdAt`` fields:.. code-block:: php[[ 'key' => [ 'username' => -1 ], 'unique' => true ],[ 'key' => [ 'email' => 1, 'createdAt' => 1 ] ],]interface:phpmethodoperation:~optional:false---source:file:apiargs-common-param.yamlref:$options...