Method: OrientSupport::OrientQuery#distinct

Defined in:
lib/support/orientquery.rb

#distinct(d) ⇒ Object



482
483
484
485
# File 'lib/support/orientquery.rb', line 482

def distinct d
  @q[:projection] << "distinct " +  generate_sql_list( d ){ ' as ' }
  self
end