Options (6)
booleanRun a `doctl databases db` command with an access token
Example:
doctl {{[d|databases]}} db {{command}} {{[-t|--access-token]}} {{access_token}}-t, --access-tokenbooleanRun a `doctl databases db` command with an access token
Example:
doctl {{[d|databases]}} db {{command}} {{[-t|--access-token]}} {{access_token}}booleanRetrieve the name of the given database hosted in the given database cluster
Example:
doctl {{[d|databases]}} db {{[g|get]}} {{database_id}} {{database_name}}booleanList existing databases hosted within a given database cluster
Example:
doctl {{[d|databases]}} db {{[ls|list]}} {{database_id}}booleanCreate a database with the given name in the given database cluster
Example:
doctl {{[d|databases]}} db {{[c|create]}} {{database_id}} {{database_name}}booleanDelete the database with the given name in the given database cluster
Example:
doctl {{[d|databases]}} db {{[rm|delete]}} {{database_id}} {{database_name}}Examples (5)
Run a `doctl databases db` command with an access token
doctl [d|databases] db command [-t|--access-token] access_tokenRetrieve the name of the given database hosted in the given database cluster
doctl [d|databases] db [g|get] database_id database_nameList existing databases hosted within a given database cluster
doctl [d|databases] db [ls|list] database_idCreate a database with the given name in the given database cluster
doctl [d|databases] db [c|create] database_id database_nameDelete the database with the given name in the given database cluster
doctl [d|databases] db [rm|delete] database_id database_namemade by @shridhargupta | data from tldr-pages