goby-database 2.1.21 → 2.2.22
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -837,7 +837,7 @@ export default class Project {
|
|
|
837
837
|
let target_select = `
|
|
838
838
|
SELECT
|
|
839
839
|
"${property_junction_column_name}",
|
|
840
|
-
json_object('class_id',${target.class_id},'
|
|
840
|
+
json_object('class_id',${target.class_id},'system_id',junction."${target_junction_column_name}"${label_sql_string}) AS target_data
|
|
841
841
|
FROM junction_${junction_id} AS junction
|
|
842
842
|
LEFT JOIN "class_${target_class === null || target_class === void 0 ? void 0 : target_class.name}" AS target_class ON junction."${target_junction_column_name}" = target_class.system_id
|
|
843
843
|
`;
|