aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_sqlite.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-08-03 18:28:58 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2022-09-28 13:21:40 -0400
commitace605ee4d96b7ee2891246655478f46862d357f (patch)
treee9e59800591255b168e73bd015762e2ba74da662 /org/out_sqlite.org
parentorg nix adjust (diff)
org noweb adjustments
Diffstat (limited to 'org/out_sqlite.org')
-rw-r--r--org/out_sqlite.org12
1 files changed, 11 insertions, 1 deletions
diff --git a/org/out_sqlite.org b/org/out_sqlite.org
index b7331a4..a6c501d 100644
--- a/org/out_sqlite.org
+++ b/org/out_sqlite.org
@@ -8,7 +8,7 @@
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+PROPERTY: header-args :exports code
-#+PROPERTY: header-args+ :noweb tangle
+#+PROPERTY: header-args+ :noweb yes
#+PROPERTY: header-args+ :results no
#+PROPERTY: header-args+ :cache no
#+PROPERTY: header-args+ :padline no
@@ -42,6 +42,7 @@ sudo chown ralph:ralph /var/www
*** template
#+HEADER: :tangle "../src/doc_reform/io_out/sqlite.d"
+#+HEADER: :noweb yes
#+BEGIN_SRC d
<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.sqlite;
@@ -75,6 +76,7 @@ long _metadata_tid_lastrowid;
**** collection
#+NAME: sqlite_collection
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteHubBuildTablesAndPopulate() {
void SQLiteHubBuildTablesAndPopulate(D,M)(
@@ -104,6 +106,7 @@ template SQLiteHubBuildTablesAndPopulate() {
**** discrete
#+NAME: sqlite_discrete
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteHubDiscreteBuildTablesAndPopulate() {
void SQLiteHubDiscreteBuildTablesAndPopulate(D,M)(
@@ -171,6 +174,7 @@ template SQLiteDbRun() {
*** munge
#+NAME: sqlite_munge
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLinsertDelimiter() {
string SQLinsertDelimiter(string _txt) {
@@ -223,6 +227,7 @@ template SQLiteFormatAndLoadObject() {
**** create
#+NAME: sqlite_create
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteTablesReCreate() {
string SQLiteTablesReCreate()() {
@@ -243,6 +248,7 @@ template SQLiteTablesReCreate() {
**** delete
#+NAME: sqlite_delete
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteDeleteDocument() {
string SQLiteDeleteDocument(M)(
@@ -259,6 +265,7 @@ template SQLiteDeleteDocument() {
**** insert metadata
#+NAME: sqlite_insert_metadata
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteInsertMetadata() {
string SQLiteInsertMetadata(M)(
@@ -276,6 +283,7 @@ template SQLiteInsertMetadata() {
**** insert metadata topics
#+NAME: sqlite_insert_metadata_topics
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteInsertMetadataTopics() {
string SQLiteInsertMetadataTopics(M)(
@@ -295,6 +303,7 @@ template SQLiteInsertMetadataTopics() {
**** insert doc objects loop
#+NAME: sqlite_insert_doc_objects_loop
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteInsertDocObjectsLoop() {
string SQLiteInsertDocObjectsLoop(D,M)(
@@ -318,6 +327,7 @@ template SQLiteInsertDocObjectsLoop() {
**** tables create
#+NAME: sqlite_tables_create
+#+HEADER: :noweb yes
#+BEGIN_SRC d
template SQLiteTablesCreate() {
void SQLiteTablesCreate(E,O,C)(E env, O opt_action, C config) {