ptupitsyn commented on code in PR #7596:
URL: https://github.com/apache/ignite-3/pull/7596#discussion_r2821333889
##########
modules/platforms/dotnet/Apache.Ignite/Internal/Table/RecordView.cs:
##########
@@ -122,6 +122,21 @@ public async Task<bool> ContainsKeyAsync(ITransaction?
transaction, T key)
return ReadSchemaAndBoolean(resBuf);
}
+ /// <inheritdoc/>
+ public async Task<bool> ContainsAllKeysAsync(ITransaction?
transaction, IEnumerable<T> keys)
+ {
+ IgniteArgumentCheck.NotNull(keys);
+
+ using var resBuf = await
DoMultiRecordOutOpAsync(ClientOp.TupleContainsAllKeys, transaction, keys, true)
+ .ConfigureAwait(false);
+ if (resBuf == null)
+ {
+ return false;
+ }
+
+ return ReadSchemaAndBoolean(resBuf);
Review Comment:
@peper0n1 this is a good point. Let's make sure to add a test as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]