An open API service indexing awesome lists of open source software.

https://github.com/mvitlov/vscode-db-explorer-firebird

Explore and run queries against your Firebird® databases without leaving VS Code.
https://github.com/mvitlov/vscode-db-explorer-firebird

db fdb firebird gdb rdbms sql

Last synced: 3 months ago
JSON representation

Explore and run queries against your Firebird® databases without leaving VS Code.

Awesome Lists containing this project

README

          




extension-icon


DB Explorer for Firebird® databases





Explore and run queries against your Firebird® databases without leaving VS Code.



badge-version


badge-installs


This extension allows you to connect directly to your [Firebird® databases](https://firebirdsql.org/), list tables and fields, run queries, display/export results and more.

![banner](https://github.com/mvitlov/vscode-db-explorer-firebird/blob/master/images/banner.jpg?raw=true)

## Features

- **NEW!** [SQL Mock Data Generator](https://github.com/mvitlov/vscode-db-explorer-firebird/wiki/SQL-Mock-Data-Generator)
- Manage multiple database connections
- List hosts, databases, tables and fields inside **Explorer View**
- [Firebird Reserved Words](https://firebirdsql.org/refdocs/langrefupd25-reskeywords-full-reswords.html) **Code Completion**
- Table and field names **Code Completion**
- Run Firebird **SQL** queries
- Run **predefined** custom queries
- View results in a **table**
- **Realtime** results filtering and sorting
- Export results to **JSON**, **CSV**, **XSLX** or **PDF** file

## Getting Started

1. [Install the extension](https://marketplace.visualstudio.com/items?itemName=marinv.vscode-db-explorer-firebird)
2. Restart VS Code and switch to DB Explorer view by clicking the newly added **Firebird icon** located at the VS Code **Activity Bar**.

## Using the extension

### Add new connection

You can add new connection to your Firebird database by clicking the _Add New Connection_ icon in the DB Explorer title bar. You will be presented with a Connection Wizard to guide you through the process. After the process is complete, your database connection will appear inside DB Explorer View

### Explore the database contents

You can view the database structure by expaning it's tree inside DB Explorer View.

> **Tip**: Right-clicking the tree nodes will give you the list of predefined custom queries.

### Set an active database

Before running your queries, remember to set an active database! You can:

- Right-click the database node and select _Set Active_
- Click the Firebird indicator in the bottom left status bar and select database from a list

> **Tip**: The _New Query_ command sets the selected database active and creates new SQL document.

### Running SQL queries

Execute your SQL query by pressing `Ctrl+Alt+Q` or by right-clicking the editor and selecting the _Run Firebird Query_ command.
The results will be displayed in new tab.

> **Important**: Multiple queries are currently **not supported**.
> If you have multiple queries written in your SQL document, make the selection around the one you want to run, otherwise you'll get an error.

### SQL Mock Data Generator

See [here](https://github.com/mvitlov/vscode-db-explorer-firebird/wiki/SQL-Mock-Data-Generator) for more details.

## Settings

- `firebird.codeCompletion.keywords: ` | Enable Code Completion for Firebird Reserved Words (Default **true**)
- `firebird.codeCompletion.database: ` | Enable Code Completion for Table and Field names (Default **true**)
- `firebird.logLevel: ` | Logging level displayed in output channel. (Default **INFO**)
- `firebird.maxTablesCount: ` | Number of tables visible in database tree. (Default **10**)
- `firebird.recordsPerPage: ` | Number of records to display per page. (Default **10**)
- `firebird.mockarooApiKey ` | API key for Mock Data Generator (Default **blank**)

## Disclaimer

This extensions is still in the early development stage, and as such it may not be suitable for usage in active development environment.

## Bugs reports & Features requests

You can submit a bug report or a feature suggestion via [GitHub Issue Tracker](https://github.com/mvitlov/vscode-db-explorer-firebird/issues).