dynamodb-onetable
dynamodb-onetable copied to clipboard
DynamoDB access and management for one table designs with NodeJS
**Describe the bug** This change: https://github.com/sensedeep/dynamodb-onetable/pull/339 changed the typedef for Model.create() to enforce required model properties during create. This makes sense, except if you have a required property that's also...
**Describe the bug** When updating one property in an object the whole object is emptied and replaced with the one property that was given in the update. For example, I...
I copied the work from PR #308 and applied to latest code to get tests to pass. I do not recommend merging this yet because it is not backwards compatible....
``` const Dynamo = require('../node_modules/dynamodb-onetable/Dynamo'); const test = new Dynamo(); ``` the above would give me the following error: `TypeError: Dynamo is not a constructor`. However, it was resolved with...
### Discussed in https://github.com/sensedeep/dynamodb-onetable/discussions/337 Originally posted by **ShivamJoker** May 21, 2022 It would be great to get typescript types in the batchGet response as well. Right now it returns an...
**Describe the bug** Performing a create operation on a model using a where clause and substitutions fails as attribute values for the where clause do not get attached to the...
**Describe the bug** I use GSI templated fields like `gs2sk: { type: String, value: "${status}#${appointment}" }` and expect them to be updated whenever I update the item's actual fields like...
Hey Trying to understand is it possible to use **remove** + **many** + **begins_with** syntax Please check my test bellow. It looks like `tunnel: { begins: { 'sk': 'user' }...
### Discussed in https://github.com/sensedeep/dynamodb-onetable/discussions/346 Originally posted by **kujtimiihoxha** July 1, 2022 Currently when you do something like ``` await User.update({id: userId}, {set: {title: 'some user adds a title with {abc}'}})...
Hi team, I have been using onetable for a while. I've found that ConditionCheck operation is not supported in transaction write. Sometime I have to ensure that data is correct...