aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-10-17 13:36:41 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit2a359a57ce021ba6ddf7232b3f3d79726d4738ba (patch)
treeb9e9c11ecf4bb0cc3dab7ea94454f868d69792bf /org/output_hub.org
parentmeta_abstraction, a renaming, minor (diff)
sqlite document db discrete & collection, started
- discrete document , drop & recreate document --sqlite-disctrete - document collection - create tables --sqlite-create - populate db with specified document --sqlite-update
Diffstat (limited to 'org/output_hub.org')
-rw-r--r--org/output_hub.org15
1 files changed, 14 insertions, 1 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index f159b7f..699e1e6 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -50,6 +50,7 @@ import sdp.output,
sdp.output.epub3,
sdp.output.html,
sdp.output.sqlite,
+ sdp.output.sqlite_discrete,
sdp.output.xmls,
sdp.output.source_sisupod,
sdp.output.create_zip_file,
@@ -162,10 +163,21 @@ if (doc_matters.opt_action["odt"]) {
#+END_SRC
*** sqlite
+**** discrete
#+name: output_options
#+BEGIN_SRC d
-if (doc_matters.opt_action["sqlite"]) {
+if (doc_matters.opt_action["sqlite-discrete"]) {
+ if ((doc_matters.opt_action["verbose"])) { writeln("sqlite processing... "); }
+ SQLiteDiscreteBuildTablesAndPopulate!()(doc_abstraction, doc_matters);
+}
+#+END_SRC
+
+**** collection
+
+#+name: output_options
+#+BEGIN_SRC d
+if (doc_matters.opt_action["sqlite-update"]) {
if ((doc_matters.opt_action["verbose"])) { writeln("sqlite processing... "); }
SQLiteBuildTablesAndPopulate!()(doc_abstraction, doc_matters);
}
@@ -173,6 +185,7 @@ if (doc_matters.opt_action["sqlite"]) {
*** sqlite (create, drop)
+**** collection
#+name: output_options_op
#+BEGIN_SRC d
if ((config["sqlite-create"])) {