Skip to content

Commit

Permalink
Stable Version 0.11.16
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Mar 15, 2016
1 parent 31620c6 commit c171a7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js-data-sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports =
var existsParams = _defineProperty({}, relationName + '.' + fieldParts.splice(0).join('.'), criteria);
// remaining field(s) handled by EXISTS subquery
var subQueryTable = getTable(relationResourceConfig);
var subQueryOptions = (0, _object.deepMixIn)({ query: (0, _knex2.default)(this.defaults).select(subQueryTable + '.*').from(subQueryTable) }, options);
var subQueryOptions = (0, _object.deepMixIn)({}, options, { query: (0, _knex2.default)(this.defaults).select(subQueryTable + '.*').from(subQueryTable) });
var subQuery = this.filterQuery(relationResourceConfig, existsParams, subQueryOptions).whereRaw('??.??=??.??', [getTable(relationResourceConfig), relation.foreignKey, getTable(localResourceConfig), localResourceConfig.idAttribute]);
if (Object.keys(criteria).some(function (k) {
return k.indexOf('|') > -1;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-data-sql",
"description": "Postgres/MySQL/MariaDB/SQLite3 adapter for js-data.",
"version": "0.11.15",
"version": "0.11.16",
"homepage": "http://www.js-data.io/docs/dssqladapter",
"repository": {
"type": "git",
Expand Down

0 comments on commit c171a7e

Please sign in to comment.