postgre analyser fix

This commit is contained in:
Jan Prochazka 2024-09-19 16:00:54 +02:00
parent 485f6c9759
commit 4fe10b26b0

View File

@ -62,7 +62,7 @@ class Analyser extends DatabaseAnalyser {
? `= '${splitCompositeDbName(dbname).schema}' `
: ' IS NOT NULL ';
return query.replace(/=SCHEMA_NAME_CONDITION/g, schemaCondition);
return query?.replace(/=SCHEMA_NAME_CONDITION/g, schemaCondition);
}
async _computeSingleObjectId() {