Interface ModelAdapterOptions<DriverOptionType>

Model adapter options

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

Type Parameters

  • DriverOptionType extends {
        session?: ClientSession;
    }

Properties

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