#NEWLINE# def lock( self , value = True ) : #NEWLINE# #INDENT# '\n        Lock the selected rows in the table\n\n        :param value: Whether it is a lock for update or a shared lock\n        :type value: bool\n\n        :return: The current QueryBuilder instance\n        :rtype: QueryBuilder\n        ' #NEWLINE# self . lock_ = value #NEWLINE# return self