Browse Source

Add log print telling many rows of data were fetched from the database

ogert 4 years ago
parent
commit
c0e7442f15
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cdplib/db_handlers/MongodbHandler.py

+ 1 - 0
cdplib/db_handlers/MongodbHandler.py

@@ -275,6 +275,7 @@ class MongodbHandler:
         data = list(data)
         try:
             if len(data)> 0:
+                self._log.info(('{} rows were fetched from the database').format(len(data)))
                 df = pd.DataFrame(data)
                 if index is not None:
                     df.set_index(index, inplace=True)