Skip to content

does dynalite support BatchExecuteStatementCommand ??? #160

@adrys-lab

Description

@adrys-lab

we are trying to introduce this feature in our main source code but when running tests with jest-dynalite,

  const params = {
    Statements: oAuthIds.slice(0, batchSize).map((id) => {
      return {
        Statement:
          "UPDATE " +
          process.env.OAUTH_TOKENS_TABLE_NAME +
          " SET rateLimit=? where tokenValue=?",
        Parameters: [{ N: rateLimit.toString() }, { S: id.toString() }],
      };
    }),
  };

  await getDynamoDBClient().send(new BatchExecuteStatementCommand(params));

It is giving us a UnknownOperationException: UnknownError with a 400.

Is there such feature with dynalite ? is there any prevision to introduce it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions