Class: Miu::Nodes::Sana::Server::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/miu/nodes/sana/server.rb

Instance Method Summary collapse

Instance Method Details

#select(table, query) ⇒ Object



9
10
11
# File 'lib/miu/nodes/sana/server.rb', line 9

def select(table, query)
  Groonga[table].select(query).map(&:attributes)
end