title: Does DynamoDB allow conditional updates on operators other than "="?
body: <p>I need to execute a conditional update if and only if the value of in-memory counter is <b>greater than</b> that stored in DynamoDB.</p>
  
  <p>Example - Let's say the value of in-memory counter is 30. The value of the counter stored in DynamoDB is 25. In 1 conditional operation, I want to set DynamoDB value to 30 (because 25 is an old value)</p>
  
  <p>Documentation has the following - </p>
  
  <pre><code>Expected allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it. 
  </code></pre>
  
  <p>It clearly states that unless you know the old value, u cannot perform the conditional operation.</p>
  
  <p>Is there a workaround using which I can perform the conditional update on 'greater than'?</p>
  
  <p>Any help is appreciated.</p>
  
  <p>Thanks.</p>