diff --git a/index.js b/index.js index d4bb9b0..12d8e1b 100644 --- a/index.js +++ b/index.js @@ -129,7 +129,7 @@ server.get('/scenario_package', bodyParser.json(), function(req, res) { //parse the where clause into the main sql statement sql = sql.replace(new RegExp("where_clause", 'g'), w) //execute the sql and send the result - //console.log(sql); + console.log(sql); Postgres.FirstRow(sql, [], res) }; }) diff --git a/route_sql/build/build_fcpool.sql b/route_sql/build/build_fcpool.sql index 77440a2..8629732 100644 --- a/route_sql/build/build_fcpool.sql +++ b/route_sql/build/build_fcpool.sql @@ -101,8 +101,8 @@ SELECT ,version ,iter ,null::int logid - ,null::text "comment" - ,null::text module + ,''::text "comment" + ,''::text module FROM rlarp.osmf_dev o LEFT OUTER JOIN lgdat.cust bc ON