Documentation
    Preparing search index...

    Interface AcquireConnectionOptions

    interface AcquireConnectionOptions {
        type?: "write" | "read";
        useMaster?: boolean;
    }
    Index
    type?: "write" | "read"

    Set which replica to use. Available options are read and write

    useMaster?: boolean

    Force master or write replica to get connection from