mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-01 16:28:46 +00:00
feat: execute selected sql (#13)
Co-authored-by: SuLe <sule@SuLedeMacBook-Air.local>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function resolveExecutableSql(fullSql: string, selectedSql: string): string {
|
||||
const trimmedSelection = selectedSql.trim();
|
||||
return trimmedSelection ? trimmedSelection : fullSql;
|
||||
}
|
||||
Reference in New Issue
Block a user