code: def run_query(self, collection_name, query):
          
          cursor = self.ds.filter(collection_name, query)
          return [Job.from_json(document) for document in cursor]
docs: method runs query on a specified collection and return a list of filtered Job records