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?
2.1m questions
2.1m answers
60 comments
57.0k users