An array of documents to be updated. Each document must have a name field that serves as its unique identifier.
The type T should extend an object with a name property and can include other fields that need to be updated.
A promise that resolves to an array of updated documents of type T. The returned documents include the updated data.
Performs a bulk update on multiple documents in the database.
This function sends an asynchronous request to the server to update multiple documents of the specified type in one operation. Each document should include its unique identifier under the
namefield, which will be used to match and update the existing records.Example
Example
Example
Throws
Throws an error if the request fails or if there is an issue with updating the documents.