Skip to content
Advertisement

Tag: orm

Not return nested objects

I hav a problem with typeorm, I ahve na queryBuilder like below: why this query return me this data: instead of this: i need to return nested object instead of using alias, can someone tell me how to do this with using queryBuilder? thanks for any help! Answer You have to use getOne not getRawOne.

Advertisement