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