-
Notifications
You must be signed in to change notification settings - Fork 75
feat: Transaction.get(AggregateQuery) added #1029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
5bb721e to
b6a2556
Compare
…onRespectReadTime()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! One minor fix needed pointed out below.
| RunAggregationQueryResponse.newBuilder() | ||
| .setResult( | ||
| AggregationResult.newBuilder() | ||
| .putAggregateFields("count", Value.newBuilder().setIntegerValue(42).build()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/42/count ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep!
| } | ||
|
|
||
| @Test | ||
| public void aggregateQueryInATransactionShouldLockTheCountedDocuments() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this test :)
No description provided.