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.
1 parent 9165d44 commit 916be72Copy full SHA for 916be72
source/connect/connection-targets.txt
@@ -68,8 +68,8 @@ The following code shows how to use the {+driver-short+} to connect to a local M
68
deployment:
69
70
.. literalinclude:: /includes/connect/client.php
71
- :language: php
72
- :copyable: true
+ :language: php
+ :copyable: true
73
74
.. _php-connection-replica-set:
75
source/includes/connect/atlas.php
@@ -1,8 +1,4 @@
1
<?php
2
-require 'vendor/autoload.php'; // Make sure you have installed the MongoDB library via Composer
3
-
4
-use MongoDB\Client;
5
-use MongoDB\Driver\Exception\Exception;
6
7
try {
8
// Replace the placeholder with your Atlas connection string
0 commit comments