mysql - analyse views, procedures, functions

This commit is contained in:
Jan Prochazka
2020-06-28 13:58:56 +02:00
parent dc4fbe21de
commit 536ee6678f
5 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
module.exports = `
select
TABLE_NAME as pureName,
VIEW_DEFINITION as createSql
from information_schema.views
where TABLE_SCHEMA = '#DATABASE#' and TABLE_NAME =[OBJECT_NAME_CONDITION];
`;