• Create a map to get one or more items using batchGet.

    Returns

    A map in the format { [tableName]: { Keys: [...] } }

    Parameters

    • tableName: string

      The table where the items will be retrieved from

    • key: Record<string, any> | Record<string, any>[]

      A map with primary key attribute values, or a list of maps of key attributes

    • Optional options: Partial<Omit<KeysAndAttributes, "Keys">>

      The same parameters accepted by the original BatchGetCommand items

    Returns Record<string, Omit<KeysAndAttributes, "Keys"> & { Keys: Record<string, NativeAttributeValue>[] | undefined }>

Generated using TypeDoc