Skip to content

Conversation

@petermyers
Copy link
Collaborator

  • Adds support for DDB set ADD and DELETE operations in updateExpression.
  • Maintains order of SET / REMOVE operations to avoid breaking exists user tests.
  • Set DELETE's handled via a 'special' _delete suffixed attribute since there's no real way of knowing otherwise what needs to be deleted.

@vsnig
Copy link
Contributor

vsnig commented Nov 21, 2025

would be also nice to have an option to use functions such as if_not_exists(path, value) too

UpdateExpression: "SET #attr = if_not_exists(#attr, :val)"

Very useful for fields such as createdOn etc.

@petermyers petermyers merged commit a5e6e72 into master Nov 24, 2025
3 checks passed
@petermyers petermyers deleted the feature-ddb-set-support branch November 24, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants