Closed ikeyan closed 1 month ago
Name | Link |
---|---|
Latest commit | 7917f85c30a5ae51d972f415534f5a6718f05931 |
Latest deploy log | https://app.netlify.com/sites/electrodb-dev/deploys/66fe498855dd240008970ac8 |
Deploy Preview | https://deploy-preview-431--electrodb-dev.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
I'm not entirely sure, but I think it's on purpose that Entity.delete()
doesn't add any conditional check in order to be close the DynamoDB DeleteItem
operation. There is the convenience method Entity.remove()
which adds the conditional check.
@zirkelc yes, Entity.delete()
have no problem in implementation. I just changed its typing.
Sorry, I should have read more carefully 😄
Delete method doesn't have ConditionExpression that the item being deleted exists by default.
Partial<T>
toKeys | null
whenresponse
option is absent or undefinedO["response"] extends "all_new"
case becauseO extends DeleteQueryOptions
andDeleteQueryOptions['response']?: "default" | "none" | "all_old"
does not include"all_new"