Can anyone please give a TypeORM solution for the below query,
select upr.active, pr.preference from user_preferences upr left join preferences pr on upr.pref