title: custom id primary key cannot be retrieved after Laravel save() method
body: <p>For auto increment id with int, after save() method, it returns id.</p>
  
  <p>But it does not return custom increment id primary key done by mysql trigger.</p>
  
  <pre><code>$productData = new Product($request-&gt;all());
  $productData-&gt;save($productData-&gt;getAttributes());
  return $productData-&gt;id;
  </code></pre>
  
  <p>how to retrieve custom id in this case ?</p>