Class: Groonga::Client::Request::Select::BackwardCompatibleSortKeysParameter

Inherits:
ValuesParameter
  • Object
show all
Defined in:
lib/groonga/client/request/select.rb

Instance Method Summary collapse

Methods inherited from ValuesParameter

#to_parameters

Constructor Details

#initialize(prefix, output_columns) ⇒ BackwardCompatibleSortKeysParameter

Returns a new instance of BackwardCompatibleSortKeysParameter.



881
882
883
884
885
886
887
# File 'lib/groonga/client/request/select.rb', line 881

def initialize(prefix, output_columns)
  names = [
    :"#{prefix}sort_keys",
    :"#{prefix}sortby", # for backward compatibility
  ]
  super(names, output_columns)
end