pangea-server 1.0.25 → 1.0.26
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.
|
@@ -209,7 +209,7 @@ function getIncludeAndWhere(model, includeItems, where, relDepth = new Map(), pa
|
|
|
209
209
|
console.log(`----- Model: ${model.name} -----`);
|
|
210
210
|
for (const [relName, rel] of Object.entries(model.Relations)) {
|
|
211
211
|
const relKey = `${parentKey}->${relName}`;
|
|
212
|
-
console.log(`-----
|
|
212
|
+
console.log(`----- relKey: ${relKey} -----`);
|
|
213
213
|
const currentDepth = relDepth.get(relKey) || 0;
|
|
214
214
|
const maxDepth = rel.joinDepth;
|
|
215
215
|
if (currentDepth >= maxDepth)
|