IRepository.findOne(options?: FindOptions): Promise<Entity | null>
Fetch the first entity matching the optional filter.
optional
options: FindOptions
Find options; at most one matching entity is returned
Promise<Entity | null>
The first matching entity, or null when none matches