def select(*fields)
      raise OData::NotSupportedError.new("You cannot call both the `links` method and the `select` method in the same query.") if @links_navigation_property
      raise OData::NotSupportedError.new("You cannot call both the `count` method and the `select` method in the same query.") if @count

      @select |= fields

      expands =  fields.find_all { |f| /\// =~ f }
      expands.each do |e|
        parts = e.split '/'
        @expands |= [parts[0...-1].join('/')]
      end

      self
    end
def select(*fields)
      raise OData::NotSupportedError.new("You cannot call both the `links` method and the `select` method in the same query.") if @links_navigation_property
      raise OData::NotSupportedError.new("You cannot call both the `count` method and the `select` method in the same query.") if @count

      @select |= fields

      expands =  fields.find_all { |f| /\// =~ f }
      expands.each do |e|
        parts = e.split '/'
        @expands |= [parts[0...-1].join('/')]
      end

      self
    end
Used to customize the properties that are returned for "ad-hoc" queries

 @param [Array<String>] properties to return

 @example
   svc.Products.select('Price', 'Rating')