aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/db.go
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-08-05 16:43:28 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-08-05 16:43:28 +0100
commit65d1a7d85ab4a18c4f3ac0fc98bb5fb969ccc020 (patch)
tree0053dfb9eabe87327b8df8b806a4389d13002603 /pkg/datamaps/db.go
parentb11d2b8ed71a474066878d172b21d41bd7584d96 (diff)
added some comments re storing cell numfmt strings
Diffstat (limited to 'pkg/datamaps/db.go')
-rw-r--r--pkg/datamaps/db.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/datamaps/db.go b/pkg/datamaps/db.go
index d0f957e..a72a63c 100644
--- a/pkg/datamaps/db.go
+++ b/pkg/datamaps/db.go
@@ -235,6 +235,7 @@ func importXLSXtoDB(dmName string, returnName string, file string, db *sql.DB) e
log.Println(err.Error())
}
+ // TODO - here we need to store the c.NumFmt string value in a new field
insertStmt, err := db.Prepare("insert into return_data (dml_id, ret_id, filename, value) values(?,?,?,?)")
if err != nil {
log.Fatal(err)