title: How to retrieve the insert ID when inserting data via Connection::insert()?
body: <p>I want use connectionManager in piece of my project.</p>
  
  <p>how can I access insert id by using connectionManager::insert</p>
  
  <p>for example:</p>
  
  <pre><code> $connection = ConnectionManager::get('default');
   $connection-&gt;insert('cities', 
      [
         'name' =&gt; $city,
         'country' =&gt; $country_code,
      ]
   );
  </code></pre>