UNPKG

ravendb

Version:
18 lines 1.01 kB
import { ILazyLoaderWithInclude } from "./ILazyLoaderWithInclude.js"; import { IDocumentSessionImpl } from "../IDocumentSession.js"; import { ObjectTypeDescriptor, EntitiesCollectionObject } from "../../../Types/index.js"; import { Lazy } from "../../Lazy.js"; export declare class LazyMultiLoaderWithInclude implements ILazyLoaderWithInclude { private readonly _session; private readonly _includes; constructor(session: IDocumentSessionImpl); /** * Includes the specified path. */ include(path: string): ILazyLoaderWithInclude; load<TResult extends object>(ids: string[]): Lazy<EntitiesCollectionObject<TResult>>; load<TResult extends object>(ids: string[], clazz: ObjectTypeDescriptor<TResult>): Lazy<EntitiesCollectionObject<TResult>>; load<TResult extends object>(id: string): Lazy<TResult | null>; load<TResult extends object>(id: string, clazz?: ObjectTypeDescriptor<TResult>): Lazy<TResult | null>; } //# sourceMappingURL=LazyMultiLoaderWithInclude.d.ts.map