Skip to content

sqlite:// URL reads its query parameters as part of the file path #4389

Closed

Description

@datlechin

What happened?

Opening a sqlite:// URL with query parameters reads the parameters as part of the file path. sqlite:///path/to/shop.sqlite?name=Shop opens /path/to/shop.sqlite?name=Shop, a file that does not exist, so the driver creates an empty database under that name. The window title reads SQLite //path/to/shop.sqlite?name=Shop.

Without parameters the title is still SQLite //path/to/shop.sqlite. duckdb:// and beancount:// file URLs behave the same.

Steps to reproduce

  1. Run open 'sqlite:///path/to/shop.sqlite?name=Shop'.
  2. Click Connect.
  3. The window title shows SQLite //path/to/shop.sqlite?name=Shop and the sidebar shows an empty database.

Expected behavior

The URL's path is the file, and name and the other documented parameters apply the way they do on server URLs. The window is titled Shop, or the file name when the URL has no name, as when the file itself is opened.

Database type

SQLite

TablePro version

0.88.0-beta.2

Platform

macOS

Activity

  1. added
    bug
    platform-macos
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplatform-macos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions