dcloud rds data run-query

Run 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>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --sqlRequired

    string

    One read-only statement; it runs in a READ ONLY transaction with a 15 s timeout

    Constraints: 1-20000 chars

  • --limitOptional

    number

    At most this many rows are returned; 200 when omitted

    Constraints: integer, 1-500

    Default: 200

Example

dcloud rds data run-query id --sql example

Generated from the API description, the same one the API checks requests against and the CLI is built from.