Runs a batch SQL statement over an array of data.
rdsdataservice_batch_execute_statement(database, parameterSets,
resourceArn, schema, secretArn, sql, transactionId)
The name of the database.
The parameter set for the batch operation.
[required] The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
The name of the database schema.
[required] The name or ARN of the secret that enables access to the DB cluster.
[required] The SQL statement to run.
The identifier of a transaction that was started by using the
BeginTransaction
operation. Specify the transaction ID of the
transaction that you want to include the SQL statement in.
If the SQL statement is not part of a transaction, don't set this parameter.
svc$batch_execute_statement( database = "string", parameterSets = list( list( list( name = "string", value = list( blobValue = raw, booleanValue = TRUE|FALSE, doubleValue = 123.0, isNull = TRUE|FALSE, longValue = 123, stringValue = "string" ) ) ) ), resourceArn = "string", schema = "string", secretArn = "string", sql = "string", transactionId = "string" )
You can run bulk update and insert operations for multiple records using a DML statement with different parameter sets. Bulk operations can provide a significant performance improvement over individual insert and update operations.
If a call isn't part of a transaction because it doesn't include the
transactionID
parameter, changes that result from the call are
committed automatically.