-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Labels
Description
Issue description
MSSQL Parameters for where override by reference from parametrizeValues
Expected Behavior
No override by reference from typeorm
Actual Behavior
typeorm override the reference of where conditions
Steps to reproduce
const memberIds = [1,2];
console.log(memberIds); // >> array of numbers
await dataSource.getRepository(User).find({
where: {
memberId: In(memberIds),
},
});
console.log(memberIds); // >> array of MysqlParameterMy Environment
| Dependency | Version |
|---|---|
| TypeORM version | master branch |
Additional Context
Relevant Database Driver(s)
- aurora-mysql
- aurora-postgres
- better-sqlite3
- cockroachdb
- cordova
- expo
- mongodb
- mysql
- nativescript
- oracle
- postgres
- react-native
- sap
- spanner
- sqlite
- sqlite-abstract
- sqljs
- sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.