def client
      @client ||= (client = Clients.with_name(client_name)
                    client = client.use(database_name) if database_name_option
                    client.with(client_options))
    end
def client
      @client ||= (client = Clients.with_name(client_name)
                    client = client.use(database_name) if database_name_option
                    client.with(client_options))
    end
Get the client for this persistence context.

 @example Get the client for this persistence context.
   context.client

 @return [ Mongo::Client ] The client for this persistence
  context.

 @since 6.0.0