Interface ModelAdapterOptions<DriverOptionType>

Model adapter options

interface ModelAdapterOptions<
    DriverOptionType extends { session?: ClientSession },
> {
    client?: ClientSession;
    driverOptions?: Omit<DriverOptionType, "session">;
}

Type Parameters

  • DriverOptionType extends { session?: ClientSession }

Properties

client?: ClientSession
driverOptions?: Omit<DriverOptionType, "session">