datasource
datasource - manage database connections in dbvr.
Synopsis¶
Tip
You can also use global options with this command.
Description¶
Manage connection definitions stored in the current workspace.
A datasource is a database connection configuration persisted in data-sources.json. It defines how dbvr connects to a
database - driver, host, port, credentials, authentication model, and optional network settings such as SSH or proxy.
Datasources let you:
- reuse connection settings across commands like
sqland [`meta - separate connections by project, for example production, staging, or development
- maintain multiple configurations for the same database
You can create, update, view, list, move, or delete datasources from the command line.
Commands¶
-
Create a new datasource and store it in the workspace configuration.
-
Update properties of an existing datasource.
-
Delete a datasource from the workspace.
-
List all datasources available in the current workspace.
-
Move a datasource to a different project or folder.
-
View full datasource configuration in JSON format.