Merge branch 'SciSharp:master' into master
This commit is contained in:
commit
5350f59188
|
|
@ -99,6 +99,11 @@ public class ExecuteQueryFn : IFunctionCallback
|
|||
|
||||
private async Task<ExecuteQueryArgs> RefineSqlStatement(RoleDialogModel message, ExecuteQueryArgs args)
|
||||
{
|
||||
if (args.Tables == null || args.Tables.Length == 0)
|
||||
{
|
||||
return args;
|
||||
}
|
||||
|
||||
// get table DDL
|
||||
var fn = _services.GetRequiredService<IRoutingService>();
|
||||
var msg = RoleDialogModel.From(message);
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@
|
|||
|
||||
"tables": {
|
||||
"type": "array",
|
||||
"description": "all related tables",
|
||||
"description": "all related tables in the sql statements",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "table name"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [ "sql_statement", "tables", "formatting_result" ]
|
||||
"required": [ "sql_statements", "tables", "formatting_result" ]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue