dynatron
Version:
The most advanced ORM for AWS DynamoDB
22 lines (21 loc) • 878 B
TypeScript
import { Condition } from "../..";
import { NativeValue } from "../../dynatron";
import { BUILD } from "../../utils/misc-utils";
import { Fetch } from "./items-fetch";
export declare class ListFetch extends Fetch {
#private;
where: (...conditions: (Condition | Condition[] | undefined)[]) => this;
indexName: (indexName: string) => this;
limit: (limit: number) => this;
start: (exclusiveStartKey?: NativeValue) => this;
[BUILD](): {
_ExclusiveStartKey?: NativeValue | undefined;
Limit?: number | undefined;
IndexName?: string | undefined;
_FilterExpressions?: Condition[] | undefined;
_ProjectionExpressions?: string[] | undefined;
ConsistentRead?: true | undefined;
ReturnConsumedCapacity: import("@aws-sdk/client-dynamodb").ReturnConsumedCapacity;
TableName: string | undefined;
};
}