Commit Graph

119 Commits

Author SHA1 Message Date
a9b1523f93 get rid of old routes and update readme to reflect sql parameterizaion 2020-11-27 11:41:47 -05:00
83a936d324 include script for self-signed cert 2020-11-27 11:32:08 -05:00
31c6390617 if multiple result sets are involved then res is an array, specificy second result set 2020-11-27 02:31:30 -05:00
3b3a2f7b39 return count of inserted rows 2020-11-27 02:24:20 -05:00
bceac1d195 update packages.json, was using old modules and no longer connecting to db. and move parameter extracion sql 2020-11-27 01:35:00 -05:00
32c7895157 notes on script and add sample env 2020-11-26 01:30:40 -05:00
3626a2d7e6 status update 2020-11-24 01:34:10 -05:00
e54e2eb05c push the items from the request body into the variables, and then from there into the sql 2020-11-24 01:24:06 -05:00
078d8294c4 quick notes on what the mappings are for 2020-11-24 01:23:02 -05:00
39a8454b0e name the column after incrementing, put variables in single quotes, move the final filter to another layer 2020-11-24 01:22:46 -05:00
4ed3f11bd8 adjust dates on the sample request 2020-11-24 01:21:43 -05:00
624ffca813 comment the header out 2020-11-24 01:21:29 -05:00
994a1027df push arguments into variables and swap out with sql statement position 2020-11-22 23:15:50 -05:00
c16e8939e9 remove duplicates 2020-11-21 01:51:11 -05:00
663e5d3de5 adjust the regex to exclude brackets not behaving as expected. req.send to send the sql back as text 2020-11-17 08:42:35 -05:00
90d62a2bb0 start working on parameterizing the baseline route 2020-11-12 00:22:00 -05:00
4a04a81241 get the baseline route pulling the sql from a simple curl for testing 2020-11-12 00:05:11 -05:00
2918c4c37a environment stuff 2020-11-11 23:45:04 -05:00
d4d2f48d52 include node project 2020-11-11 23:39:26 -05:00
d399ce61d8 node ignore 2020-11-11 23:39:10 -05:00
6358bbae14 pull intedned parameters from sql 2020-11-11 23:38:44 -05:00
30570531ad status update 2020-11-10 01:23:13 -05:00
a0f78af496 functional but only 10k rows something wrong 2020-11-10 01:12:17 -05:00
8f877450c4 get rid of named dollar quotes, and setup json array to hold list of date functions 2020-11-10 00:29:57 -05:00
1deab0fd96 target fc.live as the sales data. splice in the table joins however many date based function there are 2020-11-09 23:45:18 -05:00
f382d256ed add some notes about the dating conundrum 2020-11-09 23:20:46 -05:00
7e3354824c forgot the commas 2020-11-09 23:03:57 -05:00
17895dc443 MIT license 2020-11-09 13:16:09 -05:00
9e37284305 update problems, and remove old files 2020-11-08 22:44:23 -05:00
babdd3c8a7 update progress on baseline 2020-11-08 22:30:15 -05:00
79d3a7751c move script to generate sql statements 2020-11-08 22:20:15 -05:00
06488cae18 forecaste name, insert statement, delete statement , and orders cutuff 2020-11-08 22:16:40 -05:00
8da4a929e0 remove references to old files 2020-11-08 22:15:23 -05:00
25eea2ac13 create the final baselin 2020-11-08 21:04:50 -05:00
2610228c06 rename stuff, build shell script, include ignore file so routes sql is ignored for clones 2020-11-06 00:24:18 -05:00
73f7667ef7 get column list for plu to increment year 2020-11-06 00:12:05 -05:00
b6edc4006a comments 2020-11-06 00:00:34 -05:00
15b515a5e1 begin unioning in the piece used to plug the remainder of the year to create a full baseline 2020-11-05 23:58:29 -05:00
fcac081823 add the notion of an appcolumn, and use it to push into variables to generate route sql 2020-11-05 23:50:02 -05:00
d9bfe43d2e initial select with column list combined with body for ytd 2020-11-05 23:01:03 -05:00
4b55ab4394 put sql generating statemts into their own folder 2020-11-05 22:39:36 -05:00
9c9a345f0a move setup sql into a different folder 2020-11-05 22:35:40 -05:00
d6dbf54ec6 only increment fields by an interval that are actually dates 2020-11-05 22:32:27 -05:00
9e53758fd9 include schema name in table name column 2020-11-05 22:31:55 -05:00
a15d807178 include a reference to corresponding column from the foreign table but that has a different name (like oseas = ssyr from table perd) 2020-11-05 22:31:27 -05:00
0452bde160 sort the columns normally except push the primary key(s) into the first positiong 2020-11-05 22:30:28 -05:00
55dcb65a17 new column list to increment date periods 2020-11-04 22:58:13 -05:00
a8419e9fd6 change target name, and exlude gld joins intended for snapping months, that should be done during data prep 2020-11-04 22:56:54 -05:00
5134b659c0 rename 2020-11-04 22:33:31 -05:00
0307fb6c6b notes 2020-10-30 01:19:55 -04:00