title: MySQL output with prefix using *
body: <p>For instance we have this Query: </p>
  
  <pre><code>SELECT c.*, cu.* FROM cart c, customer cu WHERE cu.id = c.customerId
  </code></pre>
  
  <p>Now i will get all the data of the carts + the corresponding customer. But i would like to have that prefixed or in separate objecs as the following object.</p>
  
  <p>PREFIX version:</p>
  
  <p>result:</p>
  
  <pre><code>cartid = 384
  cartstatus = 5
  customerid = 443
  customername = 593
  </code></pre>
  
  <p>Object version:</p>
  
  <p>result:</p>
  
  <pre><code>cart: {
    id: 384,
    status: 5
  },
  customer: {
    id: 443,
    name: 593
  }
  </code></pre>
  
  <p>Any Ideas?</p>