rez_core 5.0.95 → 5.0.96
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
CHANGED
|
@@ -591,15 +591,13 @@ export class EntityDynamicService {
|
|
|
591
591
|
|
|
592
592
|
const entityRepo = this.reflectionHelper.getRepoService(entityMaster?.entity_data_class);
|
|
593
593
|
|
|
594
|
-
const columns = validAttributes
|
|
595
|
-
.map((attr) => `t.${attr.attribute_key}`)
|
|
596
|
-
.join(', ');
|
|
594
|
+
const columns = validAttributes.map(attr => `${attr.attribute_key}`);
|
|
597
595
|
|
|
598
596
|
const result = await entityRepo.find({
|
|
599
597
|
where: {
|
|
600
598
|
id: id
|
|
601
599
|
},
|
|
602
|
-
select:
|
|
600
|
+
select: columns
|
|
603
601
|
});
|
|
604
602
|
// const selectQuery = `SELECT ${columns}
|
|
605
603
|
// FROM ${tableName} t
|