#NEWLINE# def records( self ) : #NEWLINE# #INDENT# fields = self . field . names ( ) #NEWLINE# iterator = self . collection . find ( fields = fields ) #NEWLINE# return MongoDBRecordIterator ( iterator , iterator . expand )