8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9f2a95 + 73b6a91 commit 9815f38Copy full SHA for 9815f38
src/Jenssegers/Mongodb/Connection.php
@@ -266,6 +266,16 @@ protected function getDefaultSchemaGrammar()
266
{
267
return new Schema\Grammar();
268
}
269
+
270
+ /**
271
+ * Set database.
272
+ 692B * @param \MongoDB\Database $db
273
+ */
274
+ public function setDatabase(\MongoDB\Database $db)
275
+ {
276
+ $this->db = $db;
277
+ }
278
279
280
/**
281
* Dynamically pass methods to the connection.
0 commit comments