Astra DB icon

Astra DB

Interact with DataStax Astra DB collections for document operations

Find

AI-generated

Summary

Finds documents in a specified collection of the Astra DB based on provided filter criteria.

Inputs

  • keyspace (required) — The Astra DB keyspace name.
  • collection (required) — The name of the collection in Astra DB from which to find documents.
  • filter (required) — Filter criteria as a JSON object to search for documents.
  • options — Optional parameters to refine the search, including limit, skip, sort, and projection.

Output shape

a list of matching documents

Returns up to the specified limit of documents that match the filter criteria. If options such as skip or projection are used, only the relevant documents and fields will be returned.

Discussion