title: Cloud Spanner - Insert or Update and Increment DML?
body: <p>Is there a way to use DML to "insert or (update and <strong>increment</strong>)" rows in Google Cloud Spanner? </p>
  
  <p>This doesn't work:</p>
  
  <pre><code>INSERT INTO table (key, value) VALUES ('ABC', 1) 
         ON DUPLICATE KEY UPDATE value = value + 1
  # Syntax error: Unexpected keyword ON
  </code></pre>