Compare commits
No commits in common. "3d9bc487bafacd32888d688779a79c5a37c3aea7" and "d47b00b5cd46c1b50268ac5cb4a9ac7c62df3227" have entirely different histories.
3d9bc487ba
...
d47b00b5cd
3
index.js
3
index.js
@ -37,9 +37,6 @@ Postgres.connect();
|
||||
Postgres.FirstRow = function(inSQL, args, inResponse) {
|
||||
Postgres.query(inSQL, args, (err, res) => {
|
||||
if (err === null) {
|
||||
//need to test if the response is an object or an array
|
||||
//inResponse.json(res.rows[0]);
|
||||
//if (Array.isArray(res)) {}
|
||||
inResponse.json(res[1].rows[0]);
|
||||
return;
|
||||
}
|
||||
|
1069
package-lock.json
generated
1069
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -140,7 +140,6 @@ FROM
|
||||
WHERE
|
||||
pscale.factor <> 0 or pscale.mod_price <> 0
|
||||
)
|
||||
, ins AS (
|
||||
INSERT INTO
|
||||
tpsv.dcard
|
||||
SELECT
|
||||
@ -152,6 +151,4 @@ SELECT
|
||||
*
|
||||
FROM
|
||||
pricing
|
||||
RETURNING *
|
||||
)
|
||||
SELECT COUNT(*) as num_rows FROM ins
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user