Method: Couchup::Commands::View#run
- Defined in:
- lib/couchup/commands/view.rb
#run(*params) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/couchup/commands/view.rb', line 5 def run(*params) needs_db! rows = MapReduce.reduce(*params) ap "Found #{rows.size} item(s)" ap rows rows end |