@nerdware/ddb-single-table
Version:
A schema-based DynamoDB modeling tool, high-level API, and type-generator built to supercharge single-table designs!⚡
13 lines • 597 B
TypeScript
import type { WhereQueryOperator } from "./types/index.js";
/**
* A dictionary of `WhereQuery` operator methods, each of which returns a string
* in the operator's respective format for DynamoDB expressions.
*/
export declare const WHERE_QUERY_OPERATOR_TO_EXPRESSION: {
readonly [Operator in WhereQueryOperator]: (
/** A key of `ExpressionAttributeNames` */
eanKey: string,
/** A tuple of 1-2 keys of `ExpressionAttributeValues` */
eavKeys: Operator extends "between" ? [string, string] : [string]) => string;
};
//# sourceMappingURL=whereQueryOperatorToExpression.d.ts.map