use reliable way to detect createtable statements (#19897)

* use reliable way to detect createtable statements

* PR comments

* comments
This commit is contained in:
Alan Ren
2022-06-30 18:23:12 -07:00
committed by GitHub
parent 7eed81c560
commit 9a22c429a9
8 changed files with 45 additions and 5 deletions

View File

@@ -545,6 +545,11 @@ export interface ValidateStreamingJobParams {
createStreamingJobTsql: string
}
export interface ParseTSqlScriptParams {
filePath: string;
databaseSchemaProvider: string;
}
export namespace ExportRequest {
export const type = new RequestType<ExportParams, mssql.DacFxResult, void, void>('dacfx/export');
}
@@ -577,6 +582,10 @@ export namespace ValidateStreamingJobRequest {
export const type = new RequestType<ValidateStreamingJobParams, mssql.ValidateStreamingJobResult, void, void>('dacfx/validateStreamingJob');
}
export namespace ParseTSqlScriptRequest {
export const type = new RequestType<ParseTSqlScriptParams, mssql.ParseTSqlScriptResult, void, void>('dacfx/parseTSqlScript');
}
// ------------------------------- </ DacFx > ------------------------------------
// ------------------------------- <CMS> ----------------------------------------