title: Query array column in Postgresql
body: <p>I have an array (items) and I need to query it on postgresql. When I select the hole table the array comes like this:</p>
  <p>Array from postgresql</p>
  <pre><code>[
    [ &quot;product_id: '227534500'&quot;, 'quantity: 1' ],
    [ &quot;product_id: '226320600'&quot;, 'quantity: 1' ],
    [ &quot;product_id: '208913600'&quot;, 'quantity: 1' ],
    [ &quot;product_id: '225421600'&quot;, 'quantity: 1' ]
  ]
  </code></pre>
  <p>My array</p>
  <pre><code>[
    { product_id: '227534500', quantity: 1 },
    { product_id: '226320600', quantity: 1 },
    { product_id: '208913600', quantity: 1 },
    { product_id: '225421600', quantity: 1 }
  ]
  </code></pre>
  <p>What am I doing wrong, as my array on postgresql is this different and how could I query it? (to insert it on postgres, for test, I just copy and paste the 'my array' in the table field</p>