We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a71735 commit 92d0c88Copy full SHA for 92d0c88
dist/js-data-sql.js
@@ -115,7 +115,7 @@ module.exports =
115
var relationTable = getTable(relationResourceConfig);
116
var foreignId = relationTable + '.' + relationResourceConfig.idAttribute;
117
118
- query.join(relationTable, localId, foreignId);
+ query.leftJoin(relationTable, localId, foreignId);
119
joinedTables.push(relationPath.join('.'));
120
}
121
} else if (relation.type === 'hasMany') {
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "js-data-sql",
3
"description": "Postgres/MySQL/MariaDB/SQLite3 adapter for js-data.",
4
- "version": "0.11.16",
+ "version": "0.11.17",
5
"homepage": "http://www.js-data.io/docs/dssqladapter",
6
"repository": {
7
"type": "git",
0 commit comments