Initial version for generationg the CREATE/SELECT/EXEC scripts for the

selected node.
This commit is contained in:
Murtuza Zabuawala
2016-05-16 00:25:31 +05:30
committed by Ashesh Vashi
parent c34e62207a
commit 5ca63fba48
8 changed files with 261 additions and 19 deletions

View File

@@ -678,7 +678,7 @@ define(
* call the render method of the grid view to render the backgrid
* header and loading icon and start execution of the sql query.
*/
start: function(is_query_tool, editor_title) {
start: function(is_query_tool, editor_title, script_sql) {
var self = this;
self.is_query_tool = is_query_tool;
@@ -731,6 +731,9 @@ define(
if (self.is_query_tool) {
self.gridView.query_tool_obj.refresh();
if(script_sql && script_sql !== '') {
self.gridView.query_tool_obj.setValue(script_sql);
}
}
else {
self.gridView.query_tool_obj.setOption("readOnly",true);