run the whole thing instead of current statement (#6757)

* run the whole thing instead of current statement

* backward compact
This commit is contained in:
Alan Ren
2019-08-15 13:43:08 -07:00
committed by GitHub
parent d4d11aa260
commit 314bd0e212
5 changed files with 14 additions and 8 deletions

4
src/sql/azdata.d.ts vendored
View File

@@ -4035,8 +4035,10 @@ declare module 'azdata' {
/**
* Run query if it is a query editor and it is already opened.
* @param fileUri file URI for the query editor
* @param options options
* @param runCurrentQuery true: run current query only, false: run all the queries in the file, default is true.
*/
export function runQuery(fileUri: string, options?: Map<string, string>): void;
export function runQuery(fileUri: string, options?: Map<string, string>, runCurrentQuery?: boolean): void;
/**
* Register a query event listener