近期问题解决暂存

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/70244944

lumen生成model注释
php artisan ide-helper:models --dir="apps/_common/Models"
https://github.com/barryvdh/laravel-ide-helper
posted @ 2018-04-11 10:52  程序生(Codey)  阅读(129)  评论(0编辑  收藏  举报