Skip to content

Commit 8d65f9d

Browse files
authored
* DOCSP-21006 changing href for 139 on node driver ex * update link * remove additional link
1 parent c6d5b0d commit 8d65f9d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

source/includes/driver-examples/driver-example-indexes-1.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,8 @@
134134
- id: nodejs
135135
content: |
136136
To create an index using the
137-
`Node.JS driver <https://mongodb.github.io/node-mongodb-native/>`_,
138-
use
139-
`createIndex() <http://mongodb.github.io/node-mongodb-native/2.1/tutorials/create-indexes/>`_.
140-
137+
`Node.JS driver <https://docs.mongodb.com/drivers/node/current/>`_,
138+
use ``createIndex()``.
141139

142140
.. code-block:: javascript
143141
@@ -157,9 +155,8 @@
157155
callback(result);
158156
}
159157
160-
The `createIndex() <http://mongodb.github.io/node-mongodb-native/2.1/tutorials/create-indexes/>`_
161-
method only creates an index if an index of the same
162-
specification does not already exist.
158+
The ``createIndex()`` method only creates an index if an index
159+
of the same specification does not already exist.
163160
164161
- id: php
165162
content: |

0 commit comments

Comments
 (0)