Skip to content

Commit a211035

Browse files
committed
updates
1 parent caa4f6e commit a211035

File tree

2 files changed

+3
-7
lines changed
  • source
    • fundamentals/crud/read-operations
    • includes/fundamentals/code-snippets/crud

2 files changed

+3
-7
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ This example runs an aggregation pipeline that performs the following actions:
116116
:language: console
117117
:visible: false
118118

119-
Document({"_id": Int32(3), "name": String("Les Misérables"), "author": String("Hugo"), "length": Int32(1462)})
120-
Document({"_id": Int32(4), "name": String("A Dance with Dragons"), "author": String("Martin"), "length": Int32(1104)})
121-
Document({"_id": Int32(2), "name": String("Atlas Shrugged"), "author": String("Rand"), "length": Int32(1088)})
119+
Document({"_id": ObjectId("..."), "name": String("Les Misérables"), "author": String("Hugo"), "length": Int32(1462)})
120+
Document({"_id": ObjectId("..."), "name": String("A Dance with Dragons"), "author": String("Martin"), "length": Int32(1104)})
121+
Document({"_id": ObjectId("..."), "name": String("Atlas Shrugged"), "author": String("Rand"), "length": Int32(1088)})
122122

123123
Additional Information
124124
----------------------

source/includes/fundamentals/code-snippets/crud/skip.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,21 @@ async fn main() -> mongodb::error::Result<()> {
2121

2222
let books = vec![
2323
Book {
24-
id: 1,
2524
name: "The Brothers Karamazov".to_string(),
2625
author: "Dostoyevsky".to_string(),
2726
length: 824,
2827
},
2928
Book {
30-
id: 2,
3129
name: "Atlas Shrugged".to_string(),
3230
author: "Rand".to_string(),
3331
length: 1088,
3432
},
3533
Book {
36-
id: 3,
3734
name: "Les Misérables".to_string(),
3835
author: "Hugo".to_string(),
3936
length: 1462,
4037
},
4138
Book {
42-
id: 4,
4339
name: "A Dance with Dragons".to_string(),
4440
author: "Martin".to_string(),
4541
length: 1104,

0 commit comments

Comments
 (0)