add_batch

The functionadd_batch(batch, collection_name) uploads a batch of documents to a collection.

Input

  • batch – Represents the batch of document to upload. The structure of each document must be according to the database schema configuration file. Must be of type list [dictionary].

  • collection_name – Specifies the name of the Collection into which to load the document.

Example

response = hyperspace_client.add_batch(batch, collection_name)

Last updated

#108: Max's Nov 6 changes

Change request updated