code: def db_insert(self):
          
          assert self.has_db
          # Connect to MongoDb and get the collection.
          coll = self.manager.db_connector.get_collection()
          print("Mongodb collection %s with count %d", coll, coll.count())
  
          start = time.time()
          for work in self:
              for task in work:
                  results = task.get_results()
                  pprint(results)
                  results.update_collection(coll)
              results = work.get_results()
              pprint(results)
              results.update_collection(coll)
          print("MongoDb update done in %s [s]" % time.time() - start)
  
          results = self.get_results()
          pprint(results)
          results.update_collection(coll)
  
          # Update the pickle file to save the mongo ids.
          self.pickle_dump()
  
          for d in coll.find():
              pprint(d)
docs: Insert results in the `MongDB` database.