update

abstract suspend fun update(documents: Map<String, Document>, namespace: String? = null): List<String>(source)

Updates existing documents in the storage.

Return

The list of identifiers of the successfully updated documents.

Parameters

documents

A map of document identifiers to their updated document content.

namespace

An optional namespace to scope the storage. If null, the default namespace is used.