SoftDeleteFindOneOptions: OmitStrict<FindOneOptions<T>, "where"> & {
    where?: SoftDeleteWhere<T>;
    withDeleted?: boolean;
}

Options for finding a single entity.

Type Parameters

Type declaration

  • Optionalwhere?: SoftDeleteWhere<T>

    The where filter to find the options by.

  • OptionalwithDeleted?: boolean

    Whether or not soft deleted entities should be included.