blazejkustra / dynamode

Dynamode is a modeling tool for Amazon's DynamoDB
MIT License
61 stars 2 forks source link

Multi elements in contains function #10

Closed gurkerl83 closed 10 months ago

gurkerl83 commented 10 months ago

Just a quick question, the contains function or the condition API seems limited allowing only a single entry in the array, is there room for improvement or is this final? Thx!

blazejkustra commented 10 months ago

Hi! This is a limitation of DynamoDB. The contains function in Amazon DynamoDB is designed to only search for a single value within a set or a list attribute. Dynamode API aligns with this limitation and verifies that only one value is passed.

Some context and possible fix, hope it helps!