In my queries I'm using typeorm find option, How can I have IS NULL condition in the where clause?
Another way is you can use IsNull()
function, for example:
import { IsNull } from "typeorm";
return await getRepository(User).findOne({
where: {
username: IsNull()
}
});