[clouchdb-cvs] CVS clouchdb/src

peddy peddy at common-lisp.net
Mon Apr 20 01:56:58 UTC 2009


Update of /project/clouchdb/cvsroot/clouchdb/src
In directory cl-net:/tmp/cvs-serv26726/src

Modified Files:
	clouchdb.lisp 
Log Message:
Change 'count' parameter to 'limit' in invoke-view


--- /project/clouchdb/cvsroot/clouchdb/src/clouchdb.lisp	2009/04/19 22:48:32	1.30
+++ /project/clouchdb/cvsroot/clouchdb/src/clouchdb.lisp	2009/04/20 01:56:58	1.31
@@ -71,7 +71,7 @@
     (:start-key . ((:name . "startkey") (:fn . document-to-json)))
     (:start-key-docid . ((:name . "startkey_docid") (:fn . document-to-json)))
     (:end-key . ((:name . "endkey") (:fn . document-to-json)))
-    (:count . ((:name . "count") (:fn . value-as-string)))
+    (:limit . ((:name . "limit") (:fn . value-as-string)))
     (:update . ((:name . "update") (:fn . false-if-false)))
     (:descending . ((:name . "descending") (:fn . true-if-true)))
     (:skip . ((:name . "skip") (:fn . value-as-integer))))
@@ -789,7 +789,7 @@
                      :revision revision :if-missing if-missing)))
 
 (defun invoke-view (id view &rest options &key key start-key start-key-docid
-                    end-key count update descending skip)
+                    end-key limit update descending skip)
   "Invoke a view by specifiying the document ID that contains the view
 and the name of the contained view. The key parameter specifies an
 optional value to match against the view's mapped field. The start-key





More information about the clouchdb-cvs mailing list