Skip to content

Commit

Permalink
feat(serverless_sqldb): swap values of OrderBy of message ListDatabas…
Browse files Browse the repository at this point in the history
…eBackupsRequest
  • Loading branch information
Codelax committed Apr 16, 2024
1 parent bd18640 commit ab0654c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in descending order, though this can be modified via the order_by field.

USAGE:
scw sdb-sql backup list [arg=value ...]

ARGS:
[project-id] Filter by the UUID of the Scaleway project.
database-id Filter by the UUID of the Serverless SQL Database.
[order-by] Sorting criteria. One of `created_at_asc`, `created_at_desc`. (created_at_asc | created_at_desc)
[order-by] Sorting criteria. One of `created_at_asc`, `created_at_desc`. (created_at_desc | created_at_asc)
[organization-id] Filter by the UUID of the Scaleway organization.
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)

Expand Down
4 changes: 2 additions & 2 deletions docs/commands/sdb-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ scw sdb-sql backup get <backup-id ...> [arg=value ...]

### List your Serverless SQL Database backups

List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in descending order, though this can be modified via the order_by field.

**Usage:**

Expand All @@ -77,7 +77,7 @@ scw sdb-sql backup list [arg=value ...]
|------|---|-------------|
| project-id | | Filter by the UUID of the Scaleway project. |
| database-id | Required | Filter by the UUID of the Serverless SQL Database. |
| order-by | One of: `created_at_asc`, `created_at_desc` | Sorting criteria. One of `created_at_asc`, `created_at_desc`. |
| order-by | One of: `created_at_desc`, `created_at_asc` | Sorting criteria. One of `created_at_asc`, `created_at_desc`. |
| organization-id | | Filter by the UUID of the Scaleway organization. |
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |

Expand Down

0 comments on commit ab0654c

Please sign in to comment.