PHP Classes

File: vendor/mongodb/mongodb/docs/includes/apiargs-MongoDBCollection-method-createIndexes-param.yaml

Recommend this page to a friend!
  Classes of walid laggoune   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/docs/includes/apiargs-MongoDBCollection-method-createIndexes-param.yaml   Download  
File: vendor/mongodb/mongodb/docs/includes/apiargs-MongoDBCollection-method-createIndexes-param.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: MongoDB Queue PHP Query Execute
Query and execute multiple queries using MongoDB
Author: By
Last change:
Date: 4 years ago
Size: 522 bytes
 

Contents

Class file image Download
arg_name: param name: $indexes type: array description: | The indexes to create on the collection. For example, the following specifies a unique index on the ``username`` field and a compound index on the ``email`` and ``createdAt`` fields: .. code-block:: php [ [ 'key' => [ 'username' => -1 ], 'unique' => true ], [ 'key' => [ 'email' => 1, 'createdAt' => 1 ] ], ] interface: phpmethod operation: ~ optional: false --- source: file: apiargs-common-param.yaml ref: $options ...