Closed acathur closed 5 years ago
Add ['startLocalTransaction', 'commitTransaction', 'abortTransaction'] to client.
Usage:
// start transaction const transaction = await client.startLocalTransaction({ tableName: 'sample', primaryKey: [{ "id": "a6ef32e3-e058-4b71-b39b-16ad2f6b1afb" }] }) const transactionId = transaction.transactionId // commit await client.commitTransaction({ transactionId }) // or abort await client.commitTransaction({ transactionId })
Reference: https://help.aliyun.com/document_detail/93819.html
All committers have signed the CLA.
Add ['startLocalTransaction', 'commitTransaction', 'abortTransaction'] to client.
Usage:
Reference: https://help.aliyun.com/document_detail/93819.html