FindByIdOptions: OmitStrict<FindOneOptions<T>, "where" | "relations"> & {
    relations?: (keyof T)[];
}

Options for finding a single entity by its id.

Type Parameters

Type declaration

  • Optionalrelations?: (keyof T)[]

    The relations to include in the found entity.