I have Table with 2 attribute id(string,primary key), value(string). When I try follwoing KeyConditionExpression it throws Query key condition not supported
I disagree with Tolbahady statement regarding begins_with
and contains
only workable in range key. You can use any comparison operator in any keys using method scan
. Scan is a flexible but expensive and inefficient way of conducting dynamodb queries.
Anyways, there is a tool named, AWS NoSQL Workbench. It is little bit like MySQL Workbench. What is the good thing about it, is you can construct your table while checking against your access patterns(possible and most used queries of your application against your table).