Skip to content

Feature: Support Query Parameters in SQL Editor #737

@icaksh

Description

@icaksh

Problem

Hi, I’d love to request support for query parameters in the SQL editor.

At the moment, when writing ad hoc queries, it would be really helpful to use placeholders such as :id, :name, or similar parameter syntax, then provide the values at execution time instead of manually editing the SQL text each time.

This would help with:

  • reusing queries more safely
  • reducing mistakes when testing different values
  • making TablePro more convenient for workflows similar to other SQL clients that support bind/query parameters

Example:

SELECT *
FROM user
WHERE user_id = :user_id
  AND status = :status;

Ideal behavior:

  • detect placeholders in the editor
  • prompt the user for values before execution
  • optionally remember recently used values per query tab/session
  • support common syntaxes like :name, ?, or ${name}

This would be a very useful quality-of-life improvement for people who work heavily in the SQL editor.

Thanks for considering it.

Proposed solution

No response

Alternatives considered

No response

Related database type

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions