Skip to content

Conversation

@KO1231
Copy link

@KO1231 KO1231 commented Nov 27, 2025

This PR adds attr_type to make it possible to check the type of an Attribute in DynamoDB within a Conditional Expression.

It defaults to None to not break the existing behavior.

@KO1231
Copy link
Author

KO1231 commented Nov 27, 2025

In the AWS documentation example, it is used in the Conditional Expression when performing a delete-item operation, and it can also be used for null checks.

When checking to see if data is null, in addition to using attribute_not_exists, we must also verify whether the attribute is set to null by this.

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.

1 participant