title: Select with where statement in Dynamo DB
body: <p>So, I'm using AWS Lambda with node.js to interact with DynamoDB, it's all fine till now cause I can do a scan, query with a primary key, so on.</p>
  
  <p>But, now I need to do a query or scan that I don't know the primary key, I just have the name of the column, the parameter that I want to filter by that column and the table name.</p>
  
  <p>Such as this in SQL language:</p>
  
  <pre><code>SELECT * FROM user WHERE user_type = 'Moderator';
  </code></pre>
  
  <p>I've searched at the docs, but I still can't do this. Can someone help me?</p>