code: def _get_table_info(self):
          
          self.rowid = None
          self.fields = []
          self.field_info = {}
          self.cursor.execute('DESCRIBE %s' %self.name)
          for row in self.cursor.fetchall():
              field,typ,null,key,default,extra = row
              self.fields.append(field)
              self.field_info[field] = {'type':typ,'NOT NULL':null,'key':key,
                  'DEFAULT':default,'extra':extra}
              if extra == 'auto_increment':
                  self.rowid = field
docs: Database-specific method to get field names