code: def perform_query(self, query, **params):
          
          try:
              return self.engine.execute(query, params)
          except:
              print("Error with query: {}".format(query))
              raise
docs: Perform a query, where query is a string.