Sha256: fe010a667676426a40bc3847c5447f45784a5c9ef161e70919b6b3cf65ef49d7

Contents?: true

Size: 290 Bytes

Versions: 43

Compression:

Stored size: 290 Bytes

Contents

module CloudSesame
  module Query
    module Node
      class Return < Abstract

        attr_accessor :fields

        def fields
          @fields ||= []
        end

        def compile
          { return: fields.join(',') } unless fields.empty?
        end

      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
CloudSesame-0.7.11 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.10 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.9 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.8 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.7 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.5 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.4 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.3 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.2 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.1 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.7.0 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.8 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.7 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.6 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.5 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.4 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.3 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.2 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.1 lib/cloud_sesame/query/node/return.rb
CloudSesame-0.6.0 lib/cloud_sesame/query/node/return.rb