#NEWLINE# def _get_select_columns( self , columns = None ) : #NEWLINE# #INDENT# '\n        Set the select clause for the relation query.\n\n        :param columns: The columns\n        :type columns: list\n\n        :rtype: list\n        ' #NEWLINE# if ( ( columns == [ '*' ] ) or ( self is None ) ) : #NEWLINE# #INDENT# columns = [ ( '%s.*' % self . _related . get_table ( ) ) ] #NEWLINE# #UNINDENT# return ( columns + self . _get_aliased_pivot_columns ( ) )