Skip to content

DynamoDB avoid to insert values when they are None #538

Answered by jdisanti
ymwjbxxq asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think there is a great non-verbose solution for this right now since we haven't implemented any kind of high level DynamoDB library (see discussion on #70). In the meantime, I know of at least one library in crates.io that does this for you. Otherwise, you may be able to move the bulk of this conditional logic into a macro.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ymwjbxxq
Comment options

Answer selected by jmklix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants