@quillsql/react 2.16.62 → 2.16.63
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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -61638,7 +61638,7 @@ function mergeReportBuilderTables(baseTables, tableNamesToInclude, foreignKeyMap
|
|
|
61638
61638
|
return void 0;
|
|
61639
61639
|
}
|
|
61640
61640
|
return {
|
|
61641
|
-
type: "JOIN" /*
|
|
61641
|
+
type: "LEFT JOIN" /* LEFT */,
|
|
61642
61642
|
condition: {
|
|
61643
61643
|
operator: "=",
|
|
61644
61644
|
left: {
|
|
@@ -61680,7 +61680,7 @@ function mergeReportBuilderTables(baseTables, tableNamesToInclude, foreignKeyMap
|
|
|
61680
61680
|
}
|
|
61681
61681
|
return void 0;
|
|
61682
61682
|
};
|
|
61683
|
-
const preferredPrimaryTableName =
|
|
61683
|
+
const preferredPrimaryTableName = dedupedBaseTables.map((table) => String(table.name ?? "").trim()).find(Boolean) ?? normalizedIncludedTableNames[0] ?? "";
|
|
61684
61684
|
const initialTableName = preferredPrimaryTableName || allTableNames[0] || "";
|
|
61685
61685
|
if (!initialTableName) {
|
|
61686
61686
|
return [];
|
package/dist/index.js
CHANGED
|
@@ -61850,7 +61850,7 @@ function mergeReportBuilderTables(baseTables, tableNamesToInclude, foreignKeyMap
|
|
|
61850
61850
|
return void 0;
|
|
61851
61851
|
}
|
|
61852
61852
|
return {
|
|
61853
|
-
type: "JOIN" /*
|
|
61853
|
+
type: "LEFT JOIN" /* LEFT */,
|
|
61854
61854
|
condition: {
|
|
61855
61855
|
operator: "=",
|
|
61856
61856
|
left: {
|
|
@@ -61892,7 +61892,7 @@ function mergeReportBuilderTables(baseTables, tableNamesToInclude, foreignKeyMap
|
|
|
61892
61892
|
}
|
|
61893
61893
|
return void 0;
|
|
61894
61894
|
};
|
|
61895
|
-
const preferredPrimaryTableName =
|
|
61895
|
+
const preferredPrimaryTableName = dedupedBaseTables.map((table) => String(table.name ?? "").trim()).find(Boolean) ?? normalizedIncludedTableNames[0] ?? "";
|
|
61896
61896
|
const initialTableName = preferredPrimaryTableName || allTableNames[0] || "";
|
|
61897
61897
|
if (!initialTableName) {
|
|
61898
61898
|
return [];
|