Options
All
  • Public
  • Public/Protected
  • All
Menu

dynamodb-datamodel - v0.2.7

Index

Functions

  • validateIndex(index: Index, names?: Set<string>): void
  • Validates an Index for a Table.

    Parameters

    • index: Index

      An index for a Table.

    • Optional names: Set<string>

      Name of the other indexes.

    Returns void

  • validateIndexes(indexes: Index[]): void
  • validateTable<KEY, ATTRIBUTES>(table: TableT<KEY, ATTRIBUTES>): void
  • Validates that a Table is configured correctly. The Table's onError methods is called for any validation errors. This method should primarily be used in tests to validate the table.

    Type parameters

    • KEY

    • ATTRIBUTES

    Parameters

    • table: TableT<KEY, ATTRIBUTES>

      Table to be validated.

    Returns void

Generated using TypeDoc