title: Converting circular structure to JSON at Object.stringify (native) Knex Postgresql
body: <p>I have a basic table that one my postgresql db. I can insert data but I cannot update them.</p>
  
  <pre><code>projects
  --id
  --name
  
  var db = require('knex')(config.posgresql);
  
  db("projects").update({ name : 'bbb'}).then(function(value){
                console.log(value);
  });
  </code></pre>
  
  <p>When I run the code it throws and error that says</p>
  
  <blockquote>
    <p>Unhandled rejection TypeError: Converting circular structure to JSON
        at Object.stringify (native)
        at QueryBuilder.Object.cloneIt (/home/barisv/king-server/helpers/extensions.js:406:28)
        at Formatter.compileCallback (/home/barisv/king-server/node_modules/knex/lib/formatter.js:123:14)
        at Formatter.parameter (/home/barisv/king-server/node_modules/knex/lib/formatter.js:45:36)</p>
  </blockquote>
  
  <p>But when I run the code below it works.</p>
  
  <pre><code>db("projects").insert({ name : 'bbb'}).then(function(value){
                  console.log(value);
                });
  </code></pre>
  
  <p>What is the problem ?</p>