### Expected Behavior Return `null` ### Actual Behavior Retrieve the first record from users table ! Example : ```js const user = await userRepository.findOneBy({ id: undefined // or `null` }); /* Result : User { id:, username: , .... } */ ``` ### Steps to Reproduce 1. Create typeorm connection 2. Create user entity and migrate it to the database 3. Query the database using the user repository then call `findOneBy` method . ### Relevant Database Driver(s) <!-- Put "yes" instead of "no" to your issue's relevant databases --> | DB Type | Reproducible | |-------------------| --- | | `sqlite` | yes | For other database drivers , i have no idea :)