update where
This commit is contained in:
@ -99,7 +99,6 @@ export class UserActivityController {
|
||||
.leftJoinAndMapOne('u.username', User, 'u', 'u.id = id_user')
|
||||
.where(whereAttr, whereVal);
|
||||
const res_list = userRepository.createQueryBuilder()
|
||||
.select(['UserActivity.*', 'u.username'])
|
||||
// .addSelect('(SELECT u.username FROM users u WHERE u.id = id_user)', 'username')
|
||||
.leftJoinAndMapOne('u.username', User, 'u', 'u.id = id_user')
|
||||
.where(whereAttr, whereVal)
|
||||
|
||||
Reference in New Issue
Block a user