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 b586c0e commit f6d3d80Copy full SHA for f6d3d80
source/includes/geospatial-data.rst
@@ -14,7 +14,7 @@ Given the following collection:
14
.. code-block:: javascript
15
16
db.points.createIndex( { pos : "2dsphere" } )
17
- db.points.insert({
+ db.points.insertOne({
18
pos : { type: "Point", coordinates: [ -73.97, 40.77 ] },
19
name: "Central Park",
20
category : "Parks"
0 commit comments