#NEWLINE# def min( self , field ) : #NEWLINE# #INDENT# '\n        Returns the minimum value of a field in the result set of the query\n        by wrapping the query and performing a MIN aggregate of the specified field\n        :param field: the field to pass to the MIN aggregate\n        :type field: str\n\n        :return: The minimum value of the specified field\n        :rtype: int\n        ' #NEWLINE# q = Query ( self . connection ) . from_table ( q , fields = [ MinField ( field ) ] ) #NEWLINE# rows = q . select ( bypass_safe_limit = True ) #NEWLINE# return list ( rows [ 0 ] . values ( ) ) [ 0 ]