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 00d0b6d commit 1bfa3d2Copy full SHA for 1bfa3d2
src/index.js
@@ -179,7 +179,7 @@ class DSSqlAdapter {
179
return query
180
.select(`${table}.*`)
181
.from(table)
182
- .where(resourceConfig.idAttribute, toString(id))
+ .where(`${table}.${resourceConfig.idAttribute}`, toString(id))
183
.then(rows => {
184
if (!rows.length) {
185
return Promise.reject(new Error('Not Found!'))
0 commit comments