[clouchdb-cvs] CVS clouchdb/public_html

peddy peddy at common-lisp.net
Fri Jul 17 00:26:33 UTC 2009


Update of /project/clouchdb/cvsroot/clouchdb/public_html
In directory cl-net:/tmp/cvs-serv23604/public_html

Modified Files:
	index.html 
Log Message:
Added get-uuids function, doc for it, and incremented *couchdb-version*


--- /project/clouchdb/cvsroot/clouchdb/public_html/index.html	2009/07/15 02:23:00	1.8
+++ /project/clouchdb/cvsroot/clouchdb/public_html/index.html	2009/07/17 00:26:33	1.9
@@ -1290,6 +1290,18 @@
 </blockquote>
 
 <p>[Function]<br />
+<a name="sym-get-uuids"><b>get-uuids</b></a> &key count
+</p>
+<blockquote>
+  <p>
+    Get UUIDs from the datbase. By default returns one, but the
+    <b>count</b> parameter can be used to specifiy the number of UUIDs
+    to return. Note that the database does not guarantee that the
+    UUIDs returned are not already used in the database.
+  </p>
+</blockquote>
+
+<p>[Function]<br />
 <a name="sym-document-properties"><b>document-properties</b></a> doc
 </p>
 <blockquote>
@@ -1340,7 +1352,7 @@
 Create a new document or update an existing one. If the document is
 new an ID must be specified. If the document has been fetched from the
 server (and still retains its :|_*| CouchDb special properties) then
-no ID need be specified. If an parameter ID is provided and it differs
+no ID need be specified. If a parameter ID is provided and it differs
 from the :|_id| value in the document, then a new document is created
 with the provided ID and any non-special properties of the document.
 </p>
@@ -1705,7 +1717,7 @@
 ;; Save an attachment to /tmp/camels.jpg. Directory name must end
 ;; with / 
 (save-attachment "images" "camels.jpg" (pathname "/tmp/"))
-<b>=></b>(#P"/tmp/camels.jpg"
+<b>=></b>#P"/tmp/camels.jpg"
 
 ;; Save an attachment to a different file name in /tmp/
 (save-attachment "images" "camels.jpg" (pathname "/tmp/someCamels.jpg"))
@@ -2155,6 +2167,7 @@
   <a href="#sym-get-couchdb-info">get-couchdb-info</a> <br />
   <a href="#sym-get-db-info">get-db-info</a> <br />
   <a href="#sym-get-document">get-document</a> <br />
+  <a href="#sym-get-uuids">get-uuids</a> <br />
   <a href="#sym-id-missing">id-missing</a> <br />
   <a href="#sym-id-or-revision-conflict">id-or-revision-conflict</a> <br />
   <a href="#sym-illegal-database-name">illegal-database-name</a> <br />





More information about the clouchdb-cvs mailing list