code: def run_query(self, query, new_line=True):
          
          if (self.destructive_warning and
                  confirm_destructive_query(query) is False):
              message = 'Wise choice. Command execution stopped.'
              click.echo(message)
              return
  
          results = self.sqlexecute.run(query)
          for result in results:
              title, rows, headers, _ = result
              self.formatter.query = query
              output = self.format_output(title, rows, headers)
              for line in output:
                  click.echo(line, nl=new_line)
docs: Runs *query*.