I have a DynamoDB table Contact, where userId is a hashKey and id is a range key. Now, there are also parameters like categoryId and deleted ( true|false ).
I need to update all user's contacts within the certain category ( categoryId should be specified ). I've created local secondary index ( userId as hashKey and categoryId as rangeKey ), but still have no luck.
NB! I need to update all items in one query. The number of items is really big, so selecting all of them and updating individually is not an option.
Any help would be highly appreciated! Thank you in advance.