title: Does PHP Phalcon PHQL INSERT INTO supports ON DUPLICATE KEY UPDATE?
body: <p>Working on Phalcon 4.x with PHP 7.x, I am trying to do a PHQL query for INSERT.</p>
  <pre><code>$phql = &quot;INSERT INTO example
  (
      user_id,
      answer,
      date_last
  ) VALUES (
      :user_id:,
      :answer:,
      NOW(),
  ) ON DUPLICATE KEY UPDATE answer = :answer:, date_last = NOW()&quot;;
  </code></pre>
  <p>Using <code>modelsManager</code></p>
  <pre><code>$records  = $this-&gt;modelsManager-&gt;executeQuery(
      $phql,
      [
          'user_id'       =&gt; $parameters['user_id'],
          'answer'       =&gt; $parameters['answer']
      ]
  );
  </code></pre>
  <p>However, Phalcon is throwing the following error.</p>
  <blockquote>
  <p>Syntax error, unexpected token ON, near to ' DUPLICATE KEY UPDATE
  answer = 1, date_last = NOW()', when parsing: INSERT INTO</p>
  </blockquote>
  <p>Anyone from Phalcon community that might know if this is possible?</p>
  <p>Thanks</p>