userRepository.find({ join: { alias: "user", leftJoinAndSelect: { profile: "user.profile", photo: "user.photos", video: "user.videos" } } });
If I join a table that has no foreign key relation to userRepository, how do I specify which column is to be based on for the join?
1.4m articles
1.4m replys
5 comments
56.9k users