mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 07:16:01 +00:00
mysql - analyse views
This commit is contained in:
@@ -39,7 +39,7 @@ function useSqlTemplate(sqlTemplate, props) {
|
||||
}
|
||||
if (sqlTemplate == 'CREATE OBJECT') {
|
||||
const objectInfo = await getSqlObjectInfo(props);
|
||||
setSql(objectInfo.createSql);
|
||||
if (objectInfo) setSql(objectInfo.createSql);
|
||||
}
|
||||
if (sqlTemplate == 'EXECUTE PROCEDURE') {
|
||||
const procedureInfo = await getSqlObjectInfo(props);
|
||||
|
||||
Reference in New Issue
Block a user