formulahendry / formulahendry/vscode-mysql

auto add backquote for database name.

Open
#66 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
229
Forks
58
PR merge metrics
No merged PRs in 30d

Description

In some case, database name include some character (like my-db), in that situation I rigth cilck table name and cilck "select Top 1000", a query will generate, but the database name not add backquote, then will raise Error: ER_PARSE_ERROR . so I need add backquote by myself (\`my-db\`).

can it be auto complite, thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the VS Code right-click table flow and the generated “select Top 1000” query described in the issue, using a database name such as `my-db`. Trace the query-generation entry point and verify that the completed query remains valid for database names containing hyphens.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, typescript
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.