[
https://issues.apache.org/jira/browse/TINKERPOP-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089939#comment-18089939
]
ASF GitHub Bot commented on TINKERPOP-3253:
-------------------------------------------
spmallette commented on code in PR #3464:
URL: https://github.com/apache/tinkerpop/pull/3464#discussion_r3436916205
##########
docs/src/reference/gremlin-variants.asciidoc:
##########
@@ -354,6 +354,34 @@ err = tx.Commit()
if err != nil { log.Fatal(err) }
----
+==== Transaction Closures
Review Comment:
ngl, even though I knew what this PR was for, i still read this title as
"closing a transaction".
Maybe, "Transaction Blocks" as a language independent way to describe
things? At least with "blocks" it's hard to make an assumption about what that
is and you click?
> Add convenience lambdas for transactions
> ----------------------------------------
>
> Key: TINKERPOP-3253
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3253
> Project: TinkerPop
> Issue Type: Improvement
> Components: dotnet, driver, go, javascript, python
> Affects Versions: 4.0.0
> Reporter: Ken Hu
> Priority: Major
>
> A common usage for transactions is just to begin, do one operation and then
> commit. This currently requires three separate calls. Add some convenience
> methods that will wrap the operation in a begin() and commit().
> Originally discussed in:
> https://lists.apache.org/thread/khnz10j0ox640ch2ooq3zkpy4kmo6wxj
--
This message was sent by Atlassian Jira
(v8.20.10#820010)