diff options
Diffstat (limited to 'pkg/datamaps')
-rw-r--r-- | pkg/datamaps/writer.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/datamaps/writer.go b/pkg/datamaps/writer.go index 9a7015b..55b333b 100644 --- a/pkg/datamaps/writer.go +++ b/pkg/datamaps/writer.go @@ -17,6 +17,10 @@ func ExportMaster(opts *Options) error { // Key 3 | Key_3_Value_for_FD_1 | Key_3_Value_for_FD_2 | Key_3_Value_for_FD_3 | ... etc // ... // Could be represented as a slice or a map[string][]string + // SQL statement: + // SELECT datamap_line.key , return_data.value, return_data.filename + // FROM return_data INNER JOIN datamap_line on return_data.dml_id=datamap_line.id + // WHERE "key"; // filename := filepath.Join(opts.MasterOutPutPath, "master.xlsx") wb := xlsx.NewFile() |