[g analyser fix

This commit is contained in:
Jan Prochazka 2021-05-27 14:47:14 +02:00
parent 1ccdf7f07e
commit d058003cc9

View File

@ -150,7 +150,7 @@ class Analyser extends DatabaseAnalyser {
contentHash: x.hash_code,
})),
procedures: routineModificationsQueryData.rows
.filter(x => x.objectType == 'PROCEDURE')
.filter(x => x.object_type == 'PROCEDURE')
.map(x => ({
objectId: `procedures:${x.schema_name}.${x.pure_name}`,
pureName: x.pure_name,
@ -158,7 +158,7 @@ class Analyser extends DatabaseAnalyser {
contentHash: x.hash_code,
})),
functions: routineModificationsQueryData.rows
.filter(x => x.objectType == 'FUNCTION')
.filter(x => x.object_type == 'FUNCTION')
.map(x => ({
objectId: `functions:${x.schema_name}.${x.pure_name}`,
pureName: x.pure_name,