Creates a new Transaction object. All operations performed by this transaction are synchronous. A transaction lifecycle is as follows: - Created using AsyncTransaction#newTransaction() - Various AsyncTransaction#query() and AsyncTransaction#mutate() calls made. - Commit using Transac
()
| 410 | * @return a new Transaction object. |
| 411 | */ |
| 412 | public Transaction newTransaction() { |
| 413 | return new Transaction(asyncClient.newTransaction()); |
| 414 | } |
| 415 | |
| 416 | /** |
| 417 | * Creates a new Transaction object from a TxnContext. All operations performed by this |
no outgoing calls