generated from SwissLife-OSS/template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new clean functionality for MongoDB collections. (#66)
- Loading branch information
Showing
13 changed files
with
340 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
namespace MongoDB.Prime.Extensions.Tests | ||
using System; | ||
|
||
namespace MongoDB.Prime.Extensions.Tests; | ||
|
||
public class Bar | ||
{ | ||
public class Bar | ||
public Bar(Guid id, string name, string value) | ||
{ | ||
public Bar(string name) | ||
{ | ||
Name = name; | ||
} | ||
Id = id; | ||
Name = name; | ||
Value = value; | ||
} | ||
|
||
public string Id { get; set; } | ||
public Guid Id { get; } | ||
|
||
public string Name { get; set; } | ||
} | ||
public string Name { get; } | ||
public string Value { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
namespace MongoDB.Prime.Extensions.Tests | ||
namespace MongoDB.Prime.Extensions.Tests; | ||
|
||
public class Foo | ||
{ | ||
public class Foo | ||
public Foo(string id, string name) | ||
{ | ||
public Foo(string name) | ||
{ | ||
Name = name; | ||
} | ||
|
||
public string Id { get; set; } | ||
public string Name { get; set; } | ||
Id = id; | ||
Name = name; | ||
} | ||
|
||
public string Id { get; set; } | ||
public string Name { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...FindFluentExtensionsTests.PrintQuery_PrintOneSingleQuery_OriginalMongoDbQueryPrinted.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
find({ "$or" : [{ "Name" : "Bar1" }, { "_id" : "1234" }] }).limit(5) | ||
find({ "$or" : [{ "Name" : "Bar1" }, { "Value" : "1234" }] }).limit(5) |
Oops, something went wrong.