Commit c63fc539 authored by Jeremy Mikola's avatar Jeremy Mikola

Document typeMap option for DropDatabase and DropIndexes

This should have been updated in PHPLIB-164.
parent eabdfd30
...@@ -22,6 +22,11 @@ class DropDatabase implements Executable ...@@ -22,6 +22,11 @@ class DropDatabase implements Executable
/** /**
* Constructs a dropDatabase command. * Constructs a dropDatabase command.
* *
* Supported options:
*
* * typeMap (array): Type map for BSON deserialization. This will be used
* for the returned command result document.
*
* @param string $databaseName Database name * @param string $databaseName Database name
* @param array $options Command options * @param array $options Command options
*/ */
......
...@@ -23,6 +23,11 @@ class DropIndexes implements Executable ...@@ -23,6 +23,11 @@ class DropIndexes implements Executable
/** /**
* Constructs a dropIndexes command. * Constructs a dropIndexes command.
* *
* Supported options:
*
* * typeMap (array): Type map for BSON deserialization. This will be used
* for the returned command result document.
*
* @param string $databaseName Database name * @param string $databaseName Database name
* @param string $collectionName Collection name * @param string $collectionName Collection name
* @param string $indexName Index name (use "*" to drop all indexes) * @param string $indexName Index name (use "*" to drop all indexes)
......
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