Skip to content

Commit 3db125f

Browse files
committed
Merge pull request #5
2 parents 2754378 + ea6da09 commit 3db125f

File tree

4 files changed

+683
-542
lines changed

4 files changed

+683
-542
lines changed

src/Client.php

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
namespace MongoDB;
44

5-
use MongoDB\Driver\Manager;
6-
use MongoDB\Database;
75
use MongoDB\Collection;
6+
use MongoDB\Database;
7+
use MongoDB\Driver\Manager;
8+
use MongoDB\Driver\Result;
89

910
class Client
1011
{
@@ -29,6 +30,17 @@ public function __construct($uri, $options, $driverOptions)
2930
$this->manager = new Manager($uri, $options, $driverOptions);
3031
}
3132

33+
/**
34+
* Drop a database.
35+
*
36+
* @param string $databaseName
37+
* @return Result
38+
*/
39+
public function dropDatabase($databaseName)
40+
{
41+
// TODO
42+
}
43+
3244
/**
3345
* Select a database
3446
*

0 commit comments

Comments
 (0)