aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_src_abstraction_sqlite_db.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/out_src_abstraction_sqlite_db.org')
-rw-r--r--org/out_src_abstraction_sqlite_db.org9
1 files changed, 6 insertions, 3 deletions
diff --git a/org/out_src_abstraction_sqlite_db.org b/org/out_src_abstraction_sqlite_db.org
index 3daf045..6159fdd 100644
--- a/org/out_src_abstraction_sqlite_db.org
+++ b/org/out_src_abstraction_sqlite_db.org
@@ -42,9 +42,12 @@ template spineAbstractionDb() {
import std.array;
import d2sqlite3;
import sisudoc.outputs.io_out.paths_output;
-
- void spineAbstractionDb(D)(D doc) {
- auto doc_abstraction = doc.abstraction;
+ /+ ↓ the abstraction is passed in rather than taken from doc, because the
+ caller hands over one that has been through the .ssp: written as text
+ and read back. so the database is a function of the .ssp and cannot
+ carry anything the .ssp does not
+ +/
+ void spineAbstractionDb(D,A)(D doc, A doc_abstraction) {
auto doc_matters = doc.matters;
/+ ↓ determine output path +/