We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e2fc5 commit a178c47Copy full SHA for a178c47
lib/index.js
@@ -503,7 +503,7 @@ module.exports = Adapter => class PostgreSQLAdapter extends Adapter {
503
const updateRecord = `update "${typeMap[type] || type}" ${set} ` +
504
`where "${primaryKey}" = $${index}`
505
506
- client.query(updateRecord, parameters, (error, result) => {
+ return client.query(updateRecord, parameters, (error, result) => {
507
if (error) {
508
const code = getCode(error)
509
0 commit comments