View source: R/rdsdataservice_operations.R
rdsdataservice_execute_statement | R Documentation |
Runs a SQL statement against a database.
See https://www.paws-r-sdk.com/docs/rdsdataservice_execute_statement/ for full documentation.
rdsdataservice_execute_statement(
resourceArn,
secretArn,
sql,
database = NULL,
schema = NULL,
parameters = NULL,
transactionId = NULL,
includeResultMetadata = NULL,
continueAfterTimeout = NULL,
resultSetOptions = NULL,
formatRecordsAs = NULL
)
resourceArn |
[required] The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster. |
secretArn |
[required] The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret. For information about creating the secret, see Create a database secret. |
sql |
[required] The SQL statement to run. |
database |
The name of the database. |
schema |
The name of the database schema. Currently, the |
parameters |
The parameters for the SQL statement. Array parameters are not supported. |
transactionId |
The identifier of a transaction that was started by using the
If the SQL statement is not part of a transaction, don't set this parameter. |
includeResultMetadata |
A value that indicates whether to include metadata in the results. |
continueAfterTimeout |
A value that indicates whether to continue running the statement after the call times out. By default, the statement stops running when the call times out. For DDL statements, we recommend continuing to run the statement after the call times out. When a DDL statement terminates before it is finished running, it can result in errors and possibly corrupted data structures. |
resultSetOptions |
Options that control how the result set is returned. |
formatRecordsAs |
A value that indicates whether to format the result set as a single JSON
string. This parameter only applies to For usage information about the JSON format for result sets, see Using the Data API in the Amazon Aurora User Guide. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.