]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix tuple-db docs
authorChris Double <chris.double@double.co.nz>
Sun, 9 Dec 2007 03:59:20 +0000 (16:59 +1300)
committerChris Double <chris.double@double.co.nz>
Sun, 9 Dec 2007 03:59:20 +0000 (16:59 +1300)
extra/sqlite/sqlite-docs.factor
extra/sqlite/tuple-db/tuple-db-docs.factor

index 416601d41535c89c1e95af51a5fec812b19e540d..7bdec6efa4c1ff2c5ca2c4bb3c7e31a07aed2b8b 100644 (file)
@@ -1,6 +1,7 @@
 ! Copyright (C) 2006 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: help sqlite help.syntax help.markup ;
+IN: sqlite
 
 HELP: sqlite-open 
 { $values { "filename" "path to sqlite database" } 
index c960b5ba2b4f5716d6e511a6e756378b8041fe84..795836fa56beeae44c45e343d1a39ffd2a88acd6 100644 (file)
@@ -1,10 +1,11 @@
 ! Copyright (C) 2006 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: help sqlite sqlite.tuple-db help.syntax help.markup ;
+IN: sqlite.tuple-db
 
 ARTICLE: { "sqlite" "tuple-db-loading" } "Loading"
-"The quickest way to get up and running with this library is to load it as a module:"
-{ $code "\"libs/sqlite\" require\nUSE: sqlite\nUSE: tuple-db\n" } 
+"The quickest way to get up and running with this library is to use the vocabulary:"
+{ $code "USING: sqlite sqlite.tuple-db ;\n" } 
 "Some simple tests can be run to check that everything is working ok:"
 { $code "\"libs/sqlite\" test-module" } ;
 
@@ -126,3 +127,5 @@ HELP: delete-tuple
 }
 { $description "Delete this tuple instance from the database. The tuple must have previously been obtained from the database, or inserted into it. It must have a delegate of 'persistent' with the key field set (which is done by the find and insert operations)." } 
 { $see-also { "sqlite" "tuple-db" } insert-tuple update-tuple find-tuples delete-tuple save-tuple } ;
+
+ABOUT: { "sqlite" "tuple-db" } 
\ No newline at end of file