摘要:
mongodb 模糊查询: {people_name:{$regex:/杨/}} 更新返回更新后的数据: NewContract.findByIdAndUpdate(id, data, { new: true, select: 'attachment no' }, cb) 关联查询: People. 阅读全文
摘要:
git 日常拉取代码,创建和切换分支: git fetch remote_repo_alias_name branch_name git merge FETCH_HEAD -m ‘xxx’ 上面是比较妥善的办法:还有git pull origin master 这种比较容易出现代码合并问题 git 阅读全文