Example #1
0
 def next(self):
     """Iterator
     """
     return self._doctype( self._monga, **dictarg(self._items.next()) )
Example #2
0
 def next(self):
     rv = self._doclist._items.next()
     if rv and self._polymorphic:
         relc = mapped_user_class_docs[rv['_metaname_']]
         return relc( self._doclist._monga, **dictarg(rv) )
     return self._doclist._doctype( self._doclist._monga,  **dictarg(rv) )