@cpmech/az-dynamo
Version:
Auxiliary Tools for DynamoDB
13 lines (12 loc) • 465 B
TypeScript
import { Iany } from '@cpmech/js2ts';
export interface IQueryInput {
table: string;
index?: string;
pkName: string;
pkValue: string;
skName?: string;
skValue?: string;
skValue2?: string;
op?: '<=' | '<' | '=' | '>' | '>=' | 'prefix' | 'between';
}
export declare const query: ({ table, index, pkName: pkName, pkValue: pkValue, skName: skName, skValue: skValue, skValue2: skValue2, op, }: IQueryInput) => Promise<Iany[]>;