@resistdesign/voltra
    Preparing search index...

    Class StructuredDdbReader

    Read-only structured queries against DynamoDB term/range indexes.

    Implements

    Index

    Constructors

    Properties

    Constructors

    Properties

    ranges: {
        between: (
            field: string,
            lower: WhereValue,
            upper: WhereValue,
            options?: StructuredQueryOptions,
        ) => Promise<{ candidateIds: DocId[]; lastEvaluatedKey?: string }>;
        gte: (
            field: string,
            lower: WhereValue,
            options?: StructuredQueryOptions,
        ) => Promise<{ candidateIds: DocId[]; lastEvaluatedKey?: string }>;
        lte: (
            field: string,
            upper: WhereValue,
            options?: StructuredQueryOptions,
        ) => Promise<{ candidateIds: DocId[]; lastEvaluatedKey?: string }>;
    } = ...

    Range query implementation for structured search.

    Type Declaration

    terms: {
        query: (
            field: string,
            mode: "eq" | "contains",
            value: WhereValue,
            options?: StructuredQueryOptions,
        ) => Promise<{ candidateIds: DocId[]; lastEvaluatedKey?: string }>;
    } = ...

    Term query implementation for structured search.

    Type Declaration

    • query: (
          field: string,
          mode: "eq" | "contains",
          value: WhereValue,
          options?: StructuredQueryOptions,
      ) => Promise<{ candidateIds: DocId[]; lastEvaluatedKey?: string }>