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,8 @@
module.exports = `
select
ROUTINE_NAME as pureName,
ROUTINE_TYPE as objectType,
ROUTINE_DEFINITION as createSql
from information_schema.routines
where ROUTINE_SCHEMA = '#DATABASE#'
`;