default load as not null
This commit is contained in:
parent
db13f3d38c
commit
6774a2fdff
2
index.js
2
index.js
@ -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)
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user