Skip to content

Commit

Permalink
set model name for a zero-or-one junction (#159)
Browse files Browse the repository at this point in the history
* set model name for a zero-or-one junction

* 2.6.53
  • Loading branch information
kbarbounakis authored Sep 26, 2024
1 parent 7c7218f commit ff178cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data-queryable.js
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ DataAttributeResolver.prototype.resolveJunctionAttributeJoin = function(attr) {
configurable: true,
enumerable: false,
writable: true,
value: mapping.associationAdapter
value: childModel.name
});
expr = QueryUtils.query().where(QueryField.select(mapping.associationValueField).from(field.name))
.equal(QueryField.select(mapping.childField).from(alias));
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@themost/data",
"version": "2.6.52",
"version": "2.6.53",
"description": "MOST Web Framework Codename Blueshift - Data module",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit ff178cd

Please sign in to comment.