Skip to content

Commit 16a87d3

Browse files
committed
Stable Version 0.11.12
1 parent 1bfa3d2 commit 16a87d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/js-data-sql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ module.exports =
252252
options.with = options.with || [];
253253
var table = getTable(resourceConfig);
254254
var query = options && options.transaction || this.query;
255-
return query.select(table + '.*').from(table).where(resourceConfig.idAttribute, (0, _lang.toString)(id)).then(function (rows) {
255+
return query.select(table + '.*').from(table).where(table + '.' + resourceConfig.idAttribute, (0, _lang.toString)(id)).then(function (rows) {
256256
if (!rows.length) {
257257
return _bluebird2.default.reject(new Error('Not Found!'));
258258
} else {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-sql",
33
"description": "Postgres/MySQL/MariaDB/SQLite3 adapter for js-data.",
4-
"version": "0.11.11",
4+
"version": "0.11.12",
55
"homepage": "http://www.js-data.io/docs/dssqladapter",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)