]> gitweb.factorcode.org Git - factor.git/commitdiff
fix some db docs
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 25 Sep 2008 01:24:54 +0000 (20:24 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 25 Sep 2008 01:24:54 +0000 (20:24 -0500)
basis/db/tuples/tuples-docs.factor

index 7af827eea2e04d03e685ffb81200ea9307ff3eae..ec43ffe616fc22415b0fb79068e080c5f82a5dae 100644 (file)
@@ -89,15 +89,17 @@ HELP: count-tuples
 { $values
      { "query/tuple" tuple }
      { "n" integer } }
-{ $description "" } ;
+{ $description "Returns the number of items that would be returned if the query were a select query. Counting the tuples with this word is more efficient than calling " { $link length } " on the result of " { $link select-tuples } "." } ;
 
-{ select-tuple select-tuples count-tuples query } related-words
+{ select-tuple select-tuples count-tuples } related-words
 
 
 
 ARTICLE: "db-tuples" "High-level tuple/database integration"
 "Start with a tutorial:"
 { $subsection "db-tuples-tutorial" }
+"Database types supported:"
+{ $subsection "db.types" }
 "Useful words:"
 { $subsection "db-tuples-words" }
 "For porting db.tuples to other databases:"
@@ -125,8 +127,7 @@ ARTICLE: "db-tuples-words" "High-level tuple/database words"
 { $subsection select-tuples }
 { $subsection count-tuples } ;
 
-
-ARTICLE: "db-tuples-protocol" "High-level tuple/database protocol"
+ARTICLE: "db-tuples-protocol" "Tuple database protocol"
 ;
 
 ARTICLE: "db-tuples-tutorial" "Tuple database tutorial"