dynatron
Version:
The most advanced ORM for AWS DynamoDB
13 lines (12 loc) • 525 B
TypeScript
import { BatchGetItemOutput } from "@aws-sdk/client-dynamodb";
import { Fetch } from "../_core/items-fetch";
import { DynatronClient, NativeValue } from "../../dynatron";
import { Get } from "../items/items-get";
export declare class BatchGet extends Fetch {
private items;
constructor(databaseClient: DynatronClient, items: Get[]);
private batchGetSegment;
$: <T extends Record<string, NativeValue[]> | undefined>() => Promise<{
data: T | undefined;
} & Omit<BatchGetItemOutput, "Responses">>;
}