Skip to content

datasource list

Synopsis

dbvr datasource list [-hV] [--project=<projectIdOrName>]

Tip

You can also use global options with this command.

Description

Print all datasources defined in the current workspace.

The output includes datasource IDs and names. These values can be used with other commands such as update, delete, or view.

Options

--project

--project=<projectIdOrName>

List only datasources stored in the specified project. If not set, datasources from all projects in the workspace are displayed.

Tip

Run project list to see available projects.

Example

dbvr datasource list

Sample output:

ID                                                        NAME                             DRIVER
postgres-jdbc-1732d7fda0b-4cbc093ffe99f52d                PostgreSQL 12 dvdrental          postgres-jdbc
mysql8-18c10fd1718-55d1526e02eca585                       MySQL - localhost                mysql8
oracle_thin-17328d745e1-58662984c54035ed                  Oracle 12.2 EE                   oracle_thin
sqlite_ee-18486d86e37-20cdedd72fb68a30                    DBeaver Sample Database          sqlite_ee

The table includes:

  • ID - internal datasource identifier
  • NAME - datasource name
  • DRIVER - driver ID used by the datasource