Class: CouchVisible::ByHidden
- Inherits:
-
Object
- Object
- CouchVisible::ByHidden
- Includes:
- CouchView::Map
- Defined in:
- lib/couch_visible/maps/by_hidden.rb
Instance Method Summary collapse
Instance Method Details
#map ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/couch_visible/maps/by_hidden.rb', line 5 def map " function(doc){ if (#{conditions} && doc.couch_visible == false){ emit(doc['_id'], null); } } " end |