Copy one table to another in laravel 5
<p>How do i use the following insert into query in laravel 5?</p>

<pre><code>INSERT INTO connection2.table (SELECT * from connection1.table);
</code></pre>

<p>I am looking for two different connections, Connection1.table record should goes to Connection2.table.</p>