@valon-technologies/gestalt
    Preparing search index...

    Transaction-scoped secondary-index client.

    Index

    Methods

    • Reads the first matching indexed record inside the transaction.

      Parameters

      • ...values: unknown[]

      Returns Promise<Record>

    • Reads the primary key for the first matching index entry inside the transaction.

      Parameters

      • ...values: unknown[]

      Returns Promise<string>

    • Reads all indexed primary keys inside the transaction.

      Parameters

      • OptionalkeyRange: KeyRange
      • ...values: unknown[]

      Returns Promise<string[]>

    • Counts indexed records inside the transaction.

      Parameters

      • OptionalkeyRange: KeyRange
      • ...values: unknown[]

      Returns Promise<number>

    • Deletes indexed records inside the transaction.

      Parameters

      • ...values: unknown[]

      Returns Promise<number>