refactor: add new lines
This commit is contained in:
parent
7e56a27212
commit
fd4c5323e0
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ function filterTransaction () {
|
||||||
) f`
|
) f`
|
||||||
return db.any(sql)
|
return db.any(sql)
|
||||||
}
|
}
|
||||||
|
|
||||||
function filterCustomer () {
|
function filterCustomer () {
|
||||||
const sql = `EXPLAIN ANALYZE
|
const sql = `EXPLAIN ANALYZE
|
||||||
SELECT DISTINCT * FROM (
|
SELECT DISTINCT * FROM (
|
||||||
|
|
@ -42,6 +43,7 @@ function filterCustomer () {
|
||||||
) f`
|
) f`
|
||||||
return db.any(sql)
|
return db.any(sql)
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCustomerById (id) {
|
function getCustomerById (id) {
|
||||||
const passableErrorCodes = _.map(Pgp.as.text, TX_PASSTHROUGH_ERROR_CODES).join(',')
|
const passableErrorCodes = _.map(Pgp.as.text, TX_PASSTHROUGH_ERROR_CODES).join(',')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue