add_batch
The functionadd_batch(batch, collection_name)
uploads a batch of documents to a collection.
Input
batch – Represents the batch of documents to upload. The structure of each document must conform to the database schema configuration file. It must be of type list [dictionary].
collection_name – Specifies the name of the Collection into which to load the document.
Example
Response
{'code': 200, 'message': 'Batch successfully added', 'status': 'OK'}
Last updated