Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "list" databases sub-command to the CLI #25706

Closed
peterbarnett03 opened this issue Dec 23, 2024 · 2 comments
Closed

Add a "list" databases sub-command to the CLI #25706

peterbarnett03 opened this issue Dec 23, 2024 · 2 comments
Assignees

Comments

@peterbarnett03
Copy link
Contributor

Use case:
Knowing what database you're working with is critical to any CLI input, given reading/writing/editing all require knowing its name. However, it can be easily forgotten with no way to discover it again; you can use influxql to show databases, but it requires you entering garbage input for --dbname, which isn't a good practice, plus FlightSQL (default) doesn't currently support a show databases command.

Proposal:
Add a influxdb3 database list sub-command to the CLI which outputs the current database names.

Desired behaviour:

$ influxdb3 database list
Databases
---
field_data
sensor_data

$
@hiltontj
Copy link
Contributor

hiltontj commented Jan 6, 2025

Ah, sorry @mgattozzi - I did not see this issue when I picked up #25745 on Saturday.

@hiltontj
Copy link
Contributor

hiltontj commented Jan 7, 2025

Closed by #25748

@hiltontj hiltontj closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants