import { Not, Repository } from 'typeorm'; return await this.MyRepository.find({ where: { My_Field: Not(null) } });