- 授权协议: 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
常用算法深入学习实录
张子言 / 电子工业出版社 / 2013-10 / 89.00元
对于任何一门编程语言来说,算法都是程序的“灵魂”。正是因为算法如此重要,所以笔者精心编写了本书,希望通过书中的内容引领广大读者一起探讨学习算法的奥秘,带领广大读者真正步入程序开发的高级世界。 本书共分15章,循序渐进、由浅入深地详细讲解算法的核心内容,并通过具体实例的实现过程演练各个知识点的具体用法。本书首先详细讲解算法的基础知识,剖析了将算法称为“程序灵魂”的原因。然后详细讲解算法技术的核......一起来看看 《常用算法深入学习实录》 这本书的介绍吧!
