- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/moajs/mongoosedao
- 软件文档: https://github.com/moajs/mongoosedao
软件介绍
mongoosedao = mongoose data access object
mongoosedao 是基于 node Mongoose 封装的对 MongoDB 的 crud 等数据访问对象,和 Java 里的 dao 比较相似,可以提高开发效率。
安装
npm install --save mongoosedao
使用
require('./db');
var User = require('./User');
User.create({"username":"sss","password":"password"},function(err, user){
console.log(user);
});
User.delete({"username":"sss","password":"password"},function(err, user){
console.log(user);
});API and Test
Test status
create
delete = remove
deleteAll = removeAll
deleteById = removeById
getById
all = getAll = find({})
query = getByQuery = find
one = findOne
update
updateOne
updateById
pageByLastId
top(num) && first(num) = n(num) = latest(num)
count(cb) &* count({},cb)
more see api doc
科技投资新时代:TMT投资方法、趋势与热点聚焦
马军、宋辉、段迎晟 / 人民邮电出版社 / 2018-3 / 69.00
中国 TMT 行业(科技、媒体及通信)起步较晚但充满朝气。2017 年,TMT 板块的IPO 数量占到了总数的四分之一;对于投资者来说,投资 TMT 的收益非常可观。那么,TMT 的投资趋势如何? TMT 行业又有哪些投资热点? 本书立足于 TMT 投资现状,在介绍了 TMT 投资的基本概念之后,作者详细讲述了TMT 投资的基本研究方法、分析视角、整体行情及趋势分析,同时从行业视角分析了包括......一起来看看 《科技投资新时代:TMT投资方法、趋势与热点聚焦》 这本书的介绍吧!
