近期問題解決暫存

lumen not null
$query->orWhereNotNull('deleted_at');
https://stackoverflow.com/questions/26344717/laravel-eloquent-or-where-is-not-null

laravel 執行console腳本
https://blog.csdn.net/glovenone/article/details/52438239
http://laravelacademy.org/post/3106.html

http://www.bubuko.com/infodetail-1541793.html

"make:console" is not defined.問題
lumen沒有console命令,須要手動建
https://stackoverflow.com/questions/37928277/command-makeseeder-is-not-defined-in-lumen-5-2

yii批量更新
$condition = ['and',
    ['>', 'position', $old_position],
    ['<=', 'position', $new_position],
    ['in', 'id', $ids],
];
http://www.yiichina.com/question/1466
https://blog.csdn.net/guowenwen_0416/article/details/52483762
https://stackoverflow.com/questions/32477678/yii2-updateall-with-multi-conditions?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

yii2 mysql 查詢附表沒有的數據
https://zhidao.baidu.com/question/590129656.html
http://www.yiichina.com/question/1488

百度腦圖
http://naotu.baidu.com/

使用git克隆指定分支的代碼
git clone -b feature git@code....git
https://www.cnblogs.com/nylcy/p/6569284.html

Yii2數據庫開啓表結構緩存以及清除緩存
  1. Yii::$app->db->schema->refresh();  
https://blog.csdn.net/lhorse003/article/details/70244944lumen生成model註釋php artisan ide-helper:models --dir="apps/_common/Models"https://github.com/barryvdh/laravel-ide-helper
相關文章
相關標籤/搜索