Skip to content

Commit

Permalink
Small corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
papafe committed Oct 16, 2024
1 parent fa793b8 commit 19a4459
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 1 addition & 9 deletions src/MongoDB.Driver/Core/Operations/UpdateRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,10 @@ public UpdateRequest(UpdateType updateType, BsonDocument filter, BsonValue updat
public BsonValue Hint { get; init; }
public bool IsMulti { get; init; }
public bool IsUpsert { get; init; }
public BsonDocument Sort { get; init; }
public BsonValue Update { get; init; }
public UpdateType UpdateType { get; init; }

/// <summary>
/// Gets or sets the sort document.
/// </summary>
public BsonDocument Sort
{
get { return _sort; }
set { _sort = value; }
}

// public methods
public override bool IsRetryable(ConnectionDescription connectionDescription) => !IsMulti;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ private class TestCaseFactory : JsonDrivenTestCaseFactory
new[]
{
"MongoDB.Driver.Tests.Specifications.crud.tests.v1",
"MongoDB.Driver.Tests.Specifications.crud.tests.v2" //TODO I don't think we have v2 anymore?
};

// protected methods
Expand Down

0 comments on commit 19a4459

Please sign in to comment.