|
4 | 4 | - id: shell |
5 | 5 | content: | |
6 | 6 |
|
| 7 | + If you haven't already done so, use :doc:`the connection URI form |
| 8 | + </guides/server/drivers>` to construct the connection string |
| 9 | + required for this guide. |
7 | 10 |
|
8 | 11 | Pass the URI to the mongo shell followed by the ``--password`` |
9 | 12 | option. You will then be prompted for your password. |
|
67 | 70 | - id: python |
68 | 71 | content: | |
69 | 72 |
|
| 73 | + If you haven't already done so, use :doc:`the connection URI form |
| 74 | + </guides/server/drivers>` to construct the connection string |
| 75 | + required for this guide. |
| 76 | + |
70 | 77 | It's a good idea to put your connection code in a class so |
71 | 78 | that it can be reused. |
72 | 79 |
|
|
93 | 100 | - id: motor |
94 | 101 | content: | |
95 | 102 |
|
| 103 | + If you haven't already done so, use :doc:`the connection URI form |
| 104 | + </guides/server/drivers>` to construct the connection string |
| 105 | + required for this guide. |
| 106 | + |
96 | 107 | The ``asyncio`` and ``pprint`` imports will be used as you add functionality to your example code. |
97 | 108 |
|
98 | 109 | .. literalinclude:: /driver-examples/motorconnect.py |
|
104 | 115 | - id: java-sync |
105 | 116 | content: | |
106 | 117 |
|
| 118 | + If you haven't already done so, use :doc:`the connection URI form |
| 119 | + </guides/server/drivers>` to construct the connection string |
| 120 | + required for this guide. |
| 121 | + |
107 | 122 | This example uses a static utility method to make a connection. |
108 | 123 | This same utility has a ``closeConnection()`` method that takes |
109 | 124 | a MongoClient as its argument. This is just one way to |
|
127 | 142 | - id: nodejs |
128 | 143 | content: | |
129 | 144 |
|
| 145 | + If you haven't already done so, use :doc:`the connection URI form |
| 146 | + </guides/server/drivers>` to construct the connection string |
| 147 | + required for this guide. |
| 148 | + |
130 | 149 | Note that you will need to modify the URI string |
131 | 150 | manually below, as node requires URI encoding. |
132 | 151 |
|
|
139 | 158 | - id: csharp |
140 | 159 | content: | |
141 | 160 |
|
| 161 | + If you haven't already done so, use :doc:`the connection URI form |
| 162 | + </guides/server/drivers>` to construct the connection string |
| 163 | + required for this guide. |
| 164 | + |
142 | 165 | The ``MongoDB.Bson`` package is used in CRUD operations, so you'll import it here. |
143 | 166 |
|
144 | 167 | .. literalinclude:: /driver-examples/csharpconnect.cs |
|
0 commit comments