Skip to content

Commit 66d4c78

Browse files
Fix author name inconsistency & make sort ambiguouity example more obvious (#122)
1 parent 0ddc7ff commit 66d4c78

File tree

1 file changed

+2
-2
lines changed
  • source/fundamentals/crud/read-operations

1 file changed

+2
-2
lines changed

source/fundamentals/crud/read-operations/sort.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ insert this data into a collection, run the following operation:
2525
{ "_id": 3, "name": "Atlas Shrugged", "author": "Rand", "length": 1088 },
2626
{ "_id": 4, "name": "Infinite Jest", "author": "Wallace", "length": 1104 },
2727
{ "_id": 5, "name": "Cryptonomicon", "author": "Stephenson", "length": 918 },
28-
{ "_id": 6, "name": "A Dance with Dragons", "author": "Tolkein", "length": 1104 },
28+
{ "_id": 6, "name": "A Dance with Dragons", "author": "Martin", "length": 1104 },
2929
]);
3030

3131
Pass the following sort document to a read operation to ensure that the
@@ -49,8 +49,8 @@ documents when this sort is used with an empty query:
4949
.. code-block:: javascript
5050

5151
{ "_id": 2, "title": "Les Misérables", "author": "Hugo", "length": 1462 }
52-
{ "_id": 6, "title": "A Dance with Dragons", "author": "Martin", "length": 1104 }
5352
{ "_id": 4, "title": "Infinite Jest", "author": "Wallace", "length": 1104 }
53+
{ "_id": 6, "title": "A Dance with Dragons", "author": "Martin", "length": 1104 }
5454
{ "_id": 3, "title": "Atlas Shrugged", "author": "Rand", "length": 1088 }
5555
{ "_id": 5, "title": "Cryptonomicon", "author": "Stephenson", "length": 918 }
5656
{ "_id": 1, "title": "The Brothers Karamazov", "author": "Dostoyevsky", "length": 824 }

0 commit comments

Comments
 (0)