method BaseRepository.prototype.findOne
BaseRepository.prototype.findOne(options?: FindOptions): Promise<Entity | null>

Find the first entity that matches the supplied query options.

Parameters

optional
options: FindOptions

Return Type

Promise<Entity | null>

Usage

import { BaseRepository } from "database-plugin/src/index.ts";