couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "HttpViewApi" by JanLehnardt
Date Thu, 11 Sep 2008 11:02:21 GMT
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:
add warning about temp views.

------------------------------------------------------------------------------
  
  == Ad Hoc 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'':
+ 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).
  
  {{{
  POST /some_database/_temp_view  HTTP/1.0

Mime
View raw message