default load as not null

This commit is contained in:
Trowbridge 2020-02-14 17:00:06 -05:00
parent db13f3d38c
commit 6774a2fdff
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ server.get('/scenario_package', bodyParser.json(), function(req, res) {
//parse the where clause into the main sql statement //parse the where clause into the main sql statement
sql = sql.replace(new RegExp("where_clause", 'g'), w) sql = sql.replace(new RegExp("where_clause", 'g'), w)
//execute the sql and send the result //execute the sql and send the result
//console.log(sql); console.log(sql);
Postgres.FirstRow(sql, [], res) Postgres.FirstRow(sql, [], res)
}; };
}) })

View File

@ -101,8 +101,8 @@ SELECT
,version ,version
,iter ,iter
,null::int logid ,null::int logid
,null::text "comment" ,''::text "comment"
,null::text module ,''::text module
FROM FROM
rlarp.osmf_dev o rlarp.osmf_dev o
LEFT OUTER JOIN lgdat.cust bc ON LEFT OUTER JOIN lgdat.cust bc ON