code: def run(self, templ, *args):
          
          curs = self._conn.cursor()
          query = curs.mogrify(templ, args)
          if self.debug:
              print(query)
          curs.execute(query)
          return curs
docs: A simple utility to run SQL queries.
  
          :param templ: a query or query template
          :param args: the arguments (or the empty tuple)
          :returns: the DB API 2 cursor used to run the query