| Total Complexity | 2 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | trait InsertTrait  | 
            ||
| 15 | { | 
            ||
| 16 | use HelpersTrait;  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * InsertSelect - builds SQL for 'INSERT INTO tablename (field1, field2) FROM SELECT a1, a2 FROM table2'  | 
            ||
| 20 | *  | 
            ||
| 21 | * @param Builder $query - the Builder to insert into  | 
            ||
| 22 | * @param Builder $builder - the Query Builder to select from  | 
            ||
| 23 | * @param array $insertColumns - the columns to insert into  | 
            ||
| 24 | * @return bool  | 
            ||
| 25 | */  | 
            ||
| 26 | public function scopeInsertSelect(Builder $query, Builder $builder, array $insertColumns = [])  | 
            ||
| 39 |