Astra DB icon

Astra DB

Interact with DataStax Astra DB collections for document operations

Find And Delete Document

AI-generated

Summary

Find and delete a document in an Astra DB collection based on specified criteria.

Inputs

  • keyspace (required) — Specify the Astra DB keyspace name.
  • collection (required) — Specify the name of the collection from which the document will be deleted.
  • filter (required) — Provide the JSON filter criteria to identify the document for deletion.
  • options — Optional settings for sort, projection, and timeout.

Output shape

no body — success/failure only

Ensure the filter criteria correctly identifies the document to delete; handling of non-existent documents is not specified.

Discussion