title: Database table does not update
body: <p><em><strong>it doesn't show any error but database table doesn't update</strong></em></p>
  <p><code>id</code> and <code>status</code> taken from HTML form</p>
  <pre><code>router.get('/update_todo/:todo_id',async function(req,res){
  const id = req.body.todo_id;
  const status = req.body.complete;
  const queryString = &quot;UPDATE todos SET completed = ? WHERE todo_id = ?&quot;;
  con.query(queryString,[id,status],function(err,rows,fields){
      if(err)
      {
          console.log(err.message)
      }
      else
      {
          console.log(&quot;Updated successfull&quot;)
           
      }
  })
  </code></pre>
  <p>})</p>
  <p>my output gives</p>
  <pre><code>fieldCount  0
  affectedRows    0
  insertId    0
  serverStatus    2
  warningCount    0
  message &quot;(Rows matched: 0  Changed: 0  Warnings: 0&quot;
  protocol41  true
  changedRows 0
  </code></pre>