I have some OneToMany and ManyToOne relationships defined in my TypeORM, which are working as expected; within my find I can select certain columns from the original table with the 'select statement thus::
return await this.namedRepository.find({
select: ["ua_id", "ua_linkid_agent", "ua_linkid_usr"],
where: { ua_linkid_usr: usr_id },
relations: ["ua_agent"],
Is there a way to limit the fields coming back from the array in "ua_agent", (for example "ua_id" and "ua_status") without having to resort to the select:false criteria on all the other @Column()s in the entity file?