def __iter__(self):
        """Iteration on the records"""
        self.cursor.execute("SELECT * FROM %s" %self.name)
        results = [ self._make_record(r) for r in self.cursor.fetchall() ]
        return iter(results)
def __iter__ ( self ) : self . cursor . execute ( "SELECT * FROM %s" % self . name ) results = [ self . _make_record ( r ) for r in self . cursor . fetchall ( ) ] return iter ( results )
Iteration on the records