diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-10-17 13:36:41 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 2a359a57ce021ba6ddf7232b3f3d79726d4738ba (patch) | |
tree | b9e9c11ecf4bb0cc3dab7ea94454f868d69792bf /src/sdp/output/hub.d | |
parent | meta_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 'src/sdp/output/hub.d')
-rw-r--r-- | src/sdp/output/hub.d | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sdp/output/hub.d b/src/sdp/output/hub.d index d25905f..4f5a363 100644 --- a/src/sdp/output/hub.d +++ b/src/sdp/output/hub.d @@ -8,6 +8,7 @@ template outputHub() { 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, @@ -73,7 +74,11 @@ template outputHub() { /+ mixin outputODT; +/ writeln("odt processing"); } - 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); + } + if (doc_matters.opt_action["sqlite-update"]) { if ((doc_matters.opt_action["verbose"])) { writeln("sqlite processing... "); } SQLiteBuildTablesAndPopulate!()(doc_abstraction, doc_matters); } @@ -88,6 +93,7 @@ template outputHubOp() { 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, |