VigneshMeem

Results comments of VigneshMeem

I had the same issue bcrypt.compareSync(user.password, data.old_pass) I interchanged changed params bcrypt.compareSync(data.old_pass, user.password) then it was working fine

repository.modelClass.name Instead Mymodel.modelName Woked for me code ` const collection = await // eslint-disable-next-line @typescript-eslint/no-explicit-any (this.userdataRepository.dataSource.connector as any).collection( Userdata.modelName, ); const data: Userdata = await collection .aggregate([ {$match: {userid: id}},...

I had belongs-to-relation previously to one of the model, but I removed it in the model file but not in the model's repository, Thanks it solved the problem

> You can execute raw queries using the recently introduced `Repository` method `execute`, see #2681. This works great for SQL connectors. > > Based on the code we have in...