Skip to content

Commit c63fc53

Browse files
committed
Document typeMap option for DropDatabase and DropIndexes
This should have been updated in PHPLIB-164.
1 parent eabdfd3 commit c63fc53

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/Operation/DropDatabase.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ class DropDatabase implements Executable
2222
/**
2323
* Constructs a dropDatabase command.
2424
*
25+
* Supported options:
26+
*
27+
* * typeMap (array): Type map for BSON deserialization. This will be used
28+
* for the returned command result document.
29+
*
2530
* @param string $databaseName Database name
2631
* @param array $options Command options
2732
*/

src/Operation/DropIndexes.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ class DropIndexes implements Executable
2323
/**
2424
* Constructs a dropIndexes command.
2525
*
26+
* Supported options:
27+
*
28+
* * typeMap (array): Type map for BSON deserialization. This will be used
29+
* for the returned command result document.
30+
*
2631
* @param string $databaseName Database name
2732
* @param string $collectionName Collection name
2833
* @param string $indexName Index name (use "*" to drop all indexes)

0 commit comments

Comments
 (0)