public function saveTemporary($csv_file = null, $temporary_model = null)
	{
		$csv_file =  $csv_file ? $csv_file :  $this->csv_file;
		if( $csv_file )
		{
			$temporary_model = ($temporary_model) ? $temporary_model : new TemporaryModel();
			$temporary_model->fill(array("file_object"=>$csv_file));
			// disable query logging
			$connection_name = Config::get('laravel-import-export::baseconf.connection_name');
			DB::connection($connection_name)->disableQueryLog();
			return $temporary_model->save();
		}
		else
		{
			return false;
		}
	}
public function saveTemporary($csv_file = null, $temporary_model = null)
	{
		$csv_file =  $csv_file ? $csv_file :  $this->csv_file;
		if( $csv_file )
		{
			$temporary_model = ($temporary_model) ? $temporary_model : new TemporaryModel();
			$temporary_model->fill(array("file_object"=>$csv_file));
			// disable query logging
			$connection_name = Config::get('laravel-import-export::baseconf.connection_name');
			DB::connection($connection_name)->disableQueryLog();
			return $temporary_model->save();
		}
		else
		{
			return false;
		}
	}
public function saveTemporary ( $ csv_file = null , $ temporary_model = null ) { $ csv_file = $ csv_file ? $ csv_file : $ this -> csv_file ; if ( $ csv_file ) { $ temporary_model = ( $ temporary_model ) ? $ temporary_model : new TemporaryModel ( ) ; $ temporary_model -> fill ( array ( "file_object" => $ csv_file ) ) ; // disable query logging $ connection_name = Config :: get ( 'laravel-import-export::baseconf.connection_name' ) ; DB :: connection ( $ connection_name ) -> disableQueryLog ( ) ; return $ temporary_model -> save ( ) ; } else { return false ; } }
Put data in the temporary table

@return  Boolean $success
@throws  Exception
Put data in the temporary table