aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-06-12 19:03:42 +0300
committerBonfaceKilz2023-06-12 19:06:36 +0300
commit9cc17fb22f0300b67730dcae99ede844825ffad8 (patch)
tree4b34a0edc2d584f3295129368fd5e0032c39e42d
parente2cead1ca3d496fda31e4f00dbaa79d1043da5d7 (diff)
downloadgn-transform-databases-9cc17fb22f0300b67730dcae99ede844825ffad8.tar.gz
Add a dataset's full name when dumping
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/dump-dataset-metadata.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/dump-dataset-metadata.scm b/examples/dump-dataset-metadata.scm
index 98df9bf..789e298 100755
--- a/examples/dump-dataset-metadata.scm
+++ b/examples/dump-dataset-metadata.scm
@@ -138,6 +138,9 @@
#f "^[Nn]one$"
(field InfoFiles InfoPageName)
""))
+ (set gn:fullName
+ (field ("IFNULL(GenoFreeze.FullName, IFNULL(PublishFreeze.FullName, ''))"
+ DatasetFullName)))
(set dct:created
(field ("IFNULL(GenoFreeze.CreateTime, IFNULL(PublishFreeze.CreateTime, IFNULL(ProbeSetFreeze.CreateTime, '')))"
createTimeGenoFreeze)))