Open sasumaki opened 2 months ago
Thanks for opening an issue! I agree that the naming could be better, albeit, as you say, that's the name they also use in the actual DynamoDB client. I like the addStatement
, but then, on the other hand, I would be "making up" terms that do not exist in DynamoDB, which might also cause confusion. Perhaps the addPutItem
, addUpdateItem
, and addDeleteItem
is the way to go!
Currently in tsynamo:
the term
addItem
is very confusing and misleading term. Even though it's what they use at the dynamo document client, I think tsynamo should drop it and name it better and less confusing.I propose either simply:
Or:
What do you think?