Astra DB icon

Astra DB

Interact with DataStax Astra DB collections for document operations

Insert Many

AI-generated

Summary

Insert multiple documents into a specified Astra DB collection.

Inputs

  • keyspace (required) — Astra DB keyspace name.
  • collection (required) — Astra DB collection name.
  • documents (required) — Array of documents to insert.
  • options — Options for the insert operation, such as chunk size, concurrency, order of processing, and timeout.

Output shape

success/failure notification

If successful, the operation returns a success message; errors may occur if the keyspace or collection does not exist, or if documents fail to insert.

Discussion