I want to update the user name, address, contact# of a certain user without updating the password and other attributes of a object/record.
Asked
Active
Viewed 625 times
1 Answers
0
you can simply do it with following way:-
this.userRepository.updateById(id, member);
where member is Member type object.
const member: Partial<Member> = {
name: 'Test Name'
}

Manish Balodia
- 1,863
- 2
- 23
- 37