Import
The Import Connection feature in DBCode lets you quickly import connection configurations from tools like Azure Data Studio, pgAdmin, CSV files, and JSON formats, simplifying database setup.
Supported Formats
The Import Connection feature currently supports the following formats:
- Azure Data Studio: Import connections directly from Azure Data Studio settings files.
- CSV Files: Import connections from CSV files with user-defined field mappings.
- JSON Files: Import connections from JSON files, including support for formats like pgAdmin.
How It Works
- Command Execution: Start the import process by running the
DBCode: Import Connections
command from the Command Palette. - Source Selection: Choose the source of the connection configurations (e.g., Azure Data Studio, CSV, JSON).
- File Selection: Select the file containing the connection configurations.
- Format Selection (if needed): For CSV and JSON files, select the appropriate format or define custom field mappings.
- Preview & Confirmation: Review the imported connections and confirm the import.
- Import: Connections are added to DBCode and ready for use.
Benefits
- Quick Setup: Import connections without manual configuration.
- Versatile Formats: Supports Azure Data Studio, pgAdmin, CSV, JSON, and custom mappings.
- Seamless Integration: Works directly with DBCode’s connection management system.