错误异常 copy(C:\laragon\www\himochibear\database/seeders/IndoRegionDistrictSeeder.php): 无法打开流:没有那个文件目录
<块引用>function compareList(){
var s= SpreadsheetApp.openById('My sheet ID');
var ss = s.getSheetByName("Compare");
var oldsubs = ss.getRange(5,1,ss.getLastRow(),1).getValues();
var newsubs = ss.getRange(5,2,ss.getLastRow(),1).getValues();
var array = newsubs.filter(function(e) {return oldsubs.filter(function(f) {return f[0] == e[0]}).length == 0});
Logger.log(array.length)
我在 public function copy ($path, $target) { return copy($path, $target); }
中发现错误
答案 0 :(得分:-1)
作曲家需要 azishapidin/indoregion
php artisan indoregion:publish
在数据库文件夹中创建一个文件夹“seeders”。稍后将有 2 个文件夹可见;种子和播种机(新文件夹)。
作曲家转储自动加载
将播种机中的文件复制到种子
php artisan db:seed --class=IndoRegionSeeder
如果数字5有错误,请一一输入:
php artisan db:seed --class=IndoRegionProvinceSeeder
php artisan db:seed --class=IndoRegionRegencySeeder
php artisan db:seed --class=IndoRegionDistrictSeeder
php artisan db:seed --class=IndoRegionVillageSeeder