title: DynamoDB FilterExpression with multiple condition javascript
body: <p>I have a table with partition key and sort key also 2 other columns. I am unable to get items using <strong>FilterExpression</strong> for multiple conditions with <strong>AND</strong> in DynamoDB using javaScript AWS SDK. Can anyone provide correct code to retrieve data with multiple conditions in FilterExpression?
  My code is as follows:</p>
  <pre><code>var params = {
      TableName: 'Department',
      KeyConditionExpression: '#company = :companyId'
      , ExpressionAttributeNames: {
          '#company': 'CompanyID',
          '#dType': 'DepartmentType',
          '#cTime': 'CreatedTime'
      }
      , ExpressionAttributeValues: {
          ':companyId': 'Test',
          ':deptType': dType,
          ':daysPrior': 1250456879634
      },FilterExpression: '#dType = :deptType AND #ts &gt; :daysPrior' 
  };
  </code></pre>