spice-js 2.6.37 → 2.6.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/models/SpiceModel.js +1 -1
package/package.json
CHANGED
package/src/models/SpiceModel.js
CHANGED
|
@@ -918,7 +918,7 @@ export default class SpiceModel {
|
|
|
918
918
|
nesting.type == Array ||
|
|
919
919
|
nesting.type == "array"
|
|
920
920
|
) {
|
|
921
|
-
joinSection += `NEST \`${fixCollection(nesting.reference)}\` AS \`${nesting.alias}\` ON KEYS \`${that.type}\`.\`${nesting.alias}\` `;
|
|
921
|
+
joinSection += `LEFT NEST \`${fixCollection(nesting.reference)}\` AS \`${nesting.alias}\` ON KEYS \`${that.type}\`.\`${nesting.alias}\` `;
|
|
922
922
|
} else {
|
|
923
923
|
joinSection += `LEFT JOIN \`${fixCollection(nesting.reference)}\` AS \`${nesting.alias}\` ON KEYS \`${that.type}\`.\`${nesting.alias}\` `;
|
|
924
924
|
}
|