diff --git a/extra/sqlite/sqlite-docs.factor b/extra/sqlite/sqlite-docs.factor index 416601d415..7bdec6efa4 100644 --- a/extra/sqlite/sqlite-docs.factor +++ b/extra/sqlite/sqlite-docs.factor @@ -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" } diff --git a/extra/sqlite/tuple-db/tuple-db-docs.factor b/extra/sqlite/tuple-db/tuple-db-docs.factor index c960b5ba2b..795836fa56 100644 --- a/extra/sqlite/tuple-db/tuple-db-docs.factor +++ b/extra/sqlite/tuple-db/tuple-db-docs.factor @@ -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