[clouchdb-cvs] CVS clouchdb/public_html

peddy peddy at common-lisp.net
Mon Jun 16 23:42:56 UTC 2008


Update of /project/clouchdb/cvsroot/clouchdb/public_html
In directory clnet:/tmp/cvs-serv27004/public_html

Modified Files:
	index.html 
Log Message:
Added (compact-db) method


--- /project/clouchdb/cvsroot/clouchdb/public_html/index.html	2008/06/15 13:51:54	1.21
+++ /project/clouchdb/cvsroot/clouchdb/public_html/index.html	2008/06/16 23:42:56	1.22
@@ -574,8 +574,13 @@
 </p>
 <blockquote>
   <p>
-    Returns a list of database names available in the current connection.
+    Returns a list of databases that exist in the current database.
   </p>
+
+<pre class="code">
+(list-dbs)
+<b>=></b> ("default" "example1" "example2" "example3")
+</pre>
 </blockquote>
 
 <p>[Function]<br />
@@ -621,6 +626,32 @@
 <p>See (<a href="#sym-set-connection">set-connection</a>)</p>
 </blockquote>
 
+<!--
+<p>[Function]<br />
+<a name="sym-with-connection"><b>compact-db</b></a> (&key 
+db-name) 
+</p>
+<blockquote>
+<p>
+  Begins database compaction process on current database, or database
+  named in db-name if specified.
+</p>
+<p>
+Example:
+</p>
+<pre class="code">
+;; Compact current database
+(compact-db)
+<b>=></b> ((:|ok| . T))
+
+;; Compact "default" database
+(compact-db :db-name "default")
+<b>=></b> ((:|ok| . T))
+</pre>
+</blockquote>
+-->
+
+<hr>
 <h3><a name="doc-api-reference">Document API</a></h3>
 <p>
   The Document ID




More information about the clouchdb-cvs mailing list