code: def run_query(self, query):
          
          cursor = self.ds.filter(COLLECTION_UNIT_OF_WORK, query)
          return [UnitOfWork.from_json(document) for document in cursor]
docs: method runs the query and returns a list of filtered UnitOfWork records