dynamodb-toolbox icon indicating copy to clipboard operation
dynamodb-toolbox copied to clipboard

A simple set of tools for working with Amazon DynamoDB and the DocumentClient

Results 130 dynamodb-toolbox issues
Sort by recently updated
recently updated
newest added

Hello, I've been using DynamoDB Toolbox extensively for various projects and find it to be a robust solution for working with AWS DynamoDB. In my projects, I generally define a...

So, I have my secondary index's sort key set up as follows: ```js sk2: { hidden: true, onUpdate: true, default: ({ metadata: { firstName, lastName } }) => `${firstName}#${lastName}`, },...

There are a lot of edge cases based on the presence of an index, wether it is local or global, and what attributes are projected. Here's a recap of the...

v1

DynamoDB has supported empty values since 2020 https://aws.amazon.com/about-aws/whats-new/2020/05/amazon-dynamodb-now-supports-empty-values-for-non-key-string-and-binary-attributes-in-dynamodb-tables/ However, when creating an update transaction. DDB toolbox treats an update of a string field to empty as equivalent to removing it....

A read only property on an attribute would allow query requests to the entity but update requests with the property set should throw an error. Alternatively, adding an onUpdate event...

With dynamoDb v1, ```ts export const myEntity = new EntityV2({ name: "MyEntity", table, schema: schema({ id: string().key().savedAs("PK"), entityName: string().key().const("MyEntity").savedAs("SK"), payload: export const myEntity = new EntityV2({ name: "MyEntity", table, schema:...

v1

I'm trying to upgrade from 0.7 to 0.8 (to eventually get to 1.0 when it's released) and I'm hitting some issues with bigints and addition. Specifically, the following type of...

I have an entity with the following attributes configured ``` attributes: { userId: { partitionKey: true }, sk: { hidden: true, sortKey: true, default: 'SomeDefault', }, someIds: { type: 'set',...

Why is ReturnValuesOnConditionCheckFailure: "ALL_OLD" is not working in Toolbox. Can this feature added to the Toolbox.

Fixes https://github.com/jeremydaly/dynamodb-toolbox/issues/94 I've introduced a new `ExpressionId` class which will generate auto incrementing ids for expressions.