aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-04-05 16:00:14 +0300
committerBonfaceKilz2023-04-05 16:17:11 +0300
commit2c06368d6fa8f45db14d7d90f44973c622d5c1ba (patch)
tree5adddb27e6735d163a983c0c836963d989481f62
parent3d7daabfaed706d44f5e174b912ad25b0f95fbb2 (diff)
downloadgn-transform-databases-2c06368d6fa8f45db14d7d90f44973c622d5c1ba.tar.gz
Delete "operation" from fields
Nested raw queries: ((field (query alias)) alias) are now supported so an "operation is not needed". * dump.scm (field->key, field->assoc-ref): Delete ((field table column operation alias) alias)) Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xdump.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/dump.scm b/dump.scm
index 383a7b4..ef578e8 100755
--- a/dump.scm
+++ b/dump.scm
@@ -157,8 +157,7 @@ association list mapping substrings to their replacements."
((syntax-rules (field)
((field (query alias)) alias)
((field table column) column)
- ((field table column alias) alias)
- ((field table column operation alias) alias))
+ ((field table column alias) alias))
x)))))
x))
@@ -173,8 +172,7 @@ ALIST field-name) forms."
((syntax-rules (field)
((field (query alias)) alias)
((field table column) column)
- ((field table column alias) alias)
- ((field table column operation alias) alias))
+ ((field table column alias) alias))
x)))))
x))