Class TransactionExecutor
Transaction object used within lambda executions to provide a reduced view that allows only the operations that are valid within the context of an active managed transaction.
Inheritance
System.Object
TransactionExecutor
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class TransactionExecutor : object
Methods
| Improve this Doc View SourceAbort()
Abort the transaction and roll back any changes.
Declaration
public void Abort()
Execute(String, List<IIonValue>)
Execute the statement using the specified parameters against QLDB and retrieve the result.
Declaration
public IResult Execute(string statement, List<IIonValue> parameters = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | statement | The PartiQL statement to be executed against QLDB. |
List<IIonValue> | parameters | The parameters to be used with the PartiQL statement. |
Returns
Type | Description |
---|---|
IResult | The result of executing the statement. |