You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/13 14:10:12 UTC

[Couchdb Wiki] Update of "HttpViewApi" by JanLehnardt

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/HttpViewApi

The comment on the change is:
unify terminology: ad-hoc views -> temporary views

------------------------------------------------------------------------------
   }
  }}}
  
- == Ad Hoc Views ==
+ == Temporary Views ==
  
- One-off queries (eg. views you don't want to save in the CouchDB database) can be done via the special view ''_temp_view''. Ad-hoc views are only good during development. Final code should not rely on them as they are very expensive to compute each time they get called and they get increasingly slower the more data you have in a database. If you think you can't solve something in a permanent view that you can solve in an ad-hoc view, you might want to reconsider. (TODO: add typical examples and solutions).
+ One-off queries (eg. views you don't want to save in the CouchDB database) can be done via the special view ''_temp_view''. Temporary views are only good during development. Final code should not rely on them as they are very expensive to compute each time they get called and they get increasingly slower the more data you have in a database. If you think you can't solve something in a permanent view that you can solve in an ad-hoc view, you might want to reconsider. (TODO: add typical examples and solutions).
  
  {{{
  POST /some_database/_temp_view  HTTP/1.0