Skip to content

Allow specific query execution #866

Description

@ccrvlh

Currently, the query tab only allows execution of all queries (eg. separated by ;) within the same window.
IMHO Postico has a very nice way of handling this - the query tab allows for multiple statements, and you are within a statement (cursor somewhere within a specific statement), the statement is slightly highlighted and you can just run that specific statement. As a user, most of the times I have multiple queries and usually just want to run one of them, and I do using the shortcut for execution (CMD + Enter on macOS).

Currently, I'd have to have multiple query tabs which forces the user to (1) have a single statement per tab and (2) manage several tabs with simple queries each.

The feature request is two fold:

  1. Allow for "statement-aware" query execution
  2. Allow for "statement-aware" execution shortcut

Would be happy to contribute to this.

Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions