method DocumentAdapter.query
DocumentAdapter.query(query: TQuery): AsyncIterable<TDoc>

Executes a native query and yields results as an AsyncIterable. The adapter handles underlying pagination (e.g., Datastore's endCursor or DynamoDB's LastEvaluatedKey) internally.

Parameters

query: TQuery

Return Type

AsyncIterable<TDoc>

Usage

import { type DocumentAdapter } from ".";