Skip to content

Can’t view saved SQL Books when disconnected #1664

@AlexFrundin

Description

@AlexFrundin

Bug: Unable to view previously created SQL Books without an active connection

Description:
When no active database connection is established, it’s impossible to open or view previously created SQL Books (query books).
This prevents users from reviewing or editing their saved queries while offline or before reconnecting to a database.

Expected behavior:
Users should be able to open and view their saved SQL Books regardless of connection status.
Executing queries can remain disabled, but read-only access should still be available.

Steps to reproduce:

Create a new SQL Book and save it.

Disconnect from the database.

Try to open the saved SQL Book.

Actual result:
The SQL Book cannot be opened, or the list of saved books is not displayed without an active connection.

Expected result:
SQL Books should open in view/edit mode even if no database connection is active.

Environment:

  • VSCode version: latest
  • Database Client extension version: latest
  • Database type: all

Additional context:
Offline access to previously created SQL Books would improve workflow, allowing users to prepare or analyze queries even without an active database connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-lowDifficult to reproduce or needs additional information

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions