Fix #9156: database service count not showing up in landing page (#9157)

This commit is contained in:
Sriharsha Chintalapani 2022-12-07 07:38:56 -08:00 committed by GitHub
parent aa86859747
commit 906b1b116f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3090,6 +3090,7 @@ public interface CollectionDAO {
+ "(SELECT COUNT(*) FROM pipeline_entity <cond>) as pipelineCount, "
+ "(SELECT COUNT(*) FROM ml_model_entity <cond>) as mlmodelCount, "
+ "(SELECT (SELECT COUNT(*) FROM database_entity <cond>) + "
+ "(SELECT COUNT(*) FROM dbservice_entity <cond>)+"
+ "(SELECT COUNT(*) FROM messaging_service_entity <cond>)+ "
+ "(SELECT COUNT(*) FROM dashboard_service_entity <cond>)+ "
+ "(SELECT COUNT(*) FROM pipeline_service_entity <cond>)+ "
@ -3106,6 +3107,7 @@ public interface CollectionDAO {
+ "(SELECT COUNT(*) FROM pipeline_entity <cond>) as pipelineCount, "
+ "(SELECT COUNT(*) FROM ml_model_entity <cond>) as mlmodelCount, "
+ "(SELECT (SELECT COUNT(*) FROM database_entity <cond>) + "
+ "(SELECT COUNT(*) FROM dbservice_entity <cond>)+ "
+ "(SELECT COUNT(*) FROM messaging_service_entity <cond>)+ "
+ "(SELECT COUNT(*) FROM dashboard_service_entity <cond>)+ "
+ "(SELECT COUNT(*) FROM pipeline_service_entity <cond>)+ "