dcloud rds data run-queryRun one read-only statement in a READ ONLY transaction with a statement timeout
IAM rds:QueryDatabaseRead
Synopsis
dcloud rds data run-query id --sql sql [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/
Flags
--sqlRequiredstring
One read-only statement; it runs in a READ ONLY transaction with a 15 s timeout
Constraints: 1-20000 chars
--limitOptionalnumber
At most this many rows are returned; 200 when omitted
Constraints: integer, 1-500
Default:
200
Example
dcloud rds data run-query id --sql exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.