예제 #1
0
 def aggregate(self, other):
     if self.value is None:
         self.value = other
     else:
         if (_OrderByHelper.compare({'item': other}, {'item': self.value}) >
                 0):
             self.value = other
 def aggregate(self, other):
     if self.value is None:
         self.value = other
     else:
         if (_OrderByHelper.compare({'item': other}, {'item': self.value}) > 0):
             self.value = other