def info(self):
        """
        Quick method to list informative table statistics
        :return: dict listing table information and statistics
        """
        unique_indexes = set(self._uniqueIndexes)
        return {
            'len': len(self),
            'name': self.table_name,
            'fields': list(_object_attrnames(self[0])) if self else [],
            'indexes': [(iname, self._indexes[iname] in unique_indexes) for iname in self._indexes],
        }
def info ( self ) : unique_indexes = set ( self . _uniqueIndexes ) return { 'len' : len ( self ) , 'name' : self . table_name , 'fields' : list ( _object_attrnames ( self [ 0 ] ) ) if self else [ ] , 'indexes' : [ ( iname , self . _indexes [ iname ] in unique_indexes ) for iname in self . _indexes ] , }
Quick method to list informative table statistics
        :return: dict listing table information and statistics