Skip to content

dbeaver/pro#9170 adds download button for the script#4474

Open
sergeyteleshev wants to merge 6 commits into
develfrom
9170-cb-ability-to-export-sql-generated-data
Open

dbeaver/pro#9170 adds download button for the script#4474
sergeyteleshev wants to merge 6 commits into
develfrom
9170-cb-ability-to-export-sql-generated-data

Conversation

@sergeyteleshev

Copy link
Copy Markdown
Contributor

@codacy-production

codacy-production Bot commented Jul 20, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 15 complexity

Metric Results
Complexity 15

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.


function handleSaveToFile() {
const blob = new Blob([state.query], { type: 'text/plain' });
download(blob, getFileName([payload.nodeName, payload.generatorName]));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use withTimestamp(payload.nodeName)

}

function handleSaveToFile() {
const blob = new Blob([state.query], { type: 'text/plain' });

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const blob = new Blob([state.query], { type: 'application/sql' });

}
}

function getEntityNameFromNodePath(nodePath: string | undefined): string | undefined {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its better to get node entity by nodePath and use node.name or you can use model.name

devnaumov
devnaumov previously approved these changes Jul 21, 2026
SychevAndrey
SychevAndrey previously approved these changes Jul 22, 2026
devnaumov
devnaumov previously approved these changes Jul 22, 2026
@sergeyteleshev
sergeyteleshev dismissed stale reviews from SychevAndrey and devnaumov via 7e2b2e0 July 22, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants