Method: OrientSupport::OrientQuery#projection_s

Defined in:
lib/support.rb

#projection_sObject



380
381
382
383
384
385
386
387
388
389
390
391
# File 'lib/support.rb', line 380

def projection_s
 @projection.map do | s |
  case s
  when Array
    s.join(', ')
      when String, Symbol
    s.to_s
  else
    s.map{ |x,y| "#{x} as #{y}"}.join( ', ')
  end
 end.join( ', ' )
end