File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ var collection = database.GetCollection<BsonDocument>("bar");
23
23
await collection .InsertOneAsync (new BsonDocument (" Name" , " Jack" ));
24
24
25
25
var list = await collection .Find (new BsonDocument (" Name" , " Jack" ))
26
- .ToListAsync ();
26
+ .ToListAsync ();
27
27
28
28
foreach (var document in list )
29
29
{
30
- Console .WriteLine (document [" Name" ]);
30
+ Console .WriteLine (document [" Name" ]);
31
31
}
32
32
```
33
33
@@ -54,11 +54,11 @@ var collection = database.GetCollection<Person>("bar");
54
54
await collection .InsertOneAsync (new Person { Name = " Jack" });
55
55
56
56
var list = await collection .Find (x => x .Name == " Jack" )
57
- .ToListAsync ();
57
+ .ToListAsync ();
58
58
59
59
foreach (var person in list )
60
60
{
61
- Console .WriteLine (person .Name );
61
+ Console .WriteLine (person .Name );
62
62
}
63
63
```
64
64
@@ -115,6 +115,7 @@ Please see our [guidelines](CONTRIBUTING.md) for contributing to the driver.
115
115
* Alexey Skalozub
[email protected]
116
116
117
117
* staywellandy https://github.com/staywellandy
118
+ * Vyacheslav Stroy https://github.com/kreig
118
119
119
120
120
121
If you have contributed and we have neglected to add you to this list please contact one of the maintainers to be added to the list (with apologies).
You can’t perform that action at this time.
0 commit comments