@nerdware/ddb-single-table
Version:
A schema-based DynamoDB modeling tool, high-level API, and type-generator built to supercharge single-table designs!⚡
15 lines • 766 B
TypeScript
import type { WhereQueryParameter } from "./types/index.js";
import type { BaseItem, UnknownItem } from "../../types/index.js";
/**
* This function converts `WhereQuery` objects into the following `QueryCommand` arguments:
*
* - `KeyConditionExpression`
* - `ExpressionAttributeNames`
* - `ExpressionAttributeValues`
*/
export declare const convertWhereQueryToSdkQueryArgs: <ItemParams extends UnknownItem = BaseItem>({ where, }: WhereQueryParameter<ItemParams>) => {
KeyConditionExpression: string;
ExpressionAttributeNames: Record<string, string>;
ExpressionAttributeValues: import("../../DdbClientWrapper/types/unmarshalledSdkFieldTypes.js").UnmarshalledExpressionAttributeValues;
};
//# sourceMappingURL=convertWhereQueryToSdkQueryArgs.d.ts.map