【文件属性】:
文件名称:node-mango:**已弃用*** nodejs 的简单 mongodb 包装库
文件大小:13KB
文件格式:ZIP
更新时间:2021-07-10 22:19:23
JavaScript
弃用通知
这个项目被放弃了。
节点芒果
用于 nodejs 的简单 mongodb 包装库
特征
所有 mongodb 集合方法的承诺返回包装方法。
类似 DAO 的方法:createNew/load/store/destroy/all
嵌入式字段辅助方法:getField/setField/removeField/loadField/...
嵌入式数组字段辅助方法:addElement/addElements/removeElement/removeElements/hasElemnt/hasSomeElements/hasAllElements
嵌入对象字段辅助方法:getProperty/setProperty/incProperty/removeProperty
带有内存、redis 或其他东西的文档级缓存(实验性)
入门
使用 npm 安装模块:
npm insta
【文件预览】:
node-mango-master
----.gitignore(55B)
----package.json(765B)
----Gruntfile.js(561B)
----libs()
--------rediscache.js(1KB)
--------memorycache.js(1KB)
--------mangodb.js(2KB)
--------mango.js(4KB)
--------mangocollection.js(15KB)
--------mangocache.js(961B)
----README.md(2KB)
----tests()
--------mango_test.js(16KB)
--------mango_bmt.js(1KB)
--------mango_fixtures.js(841B)
--------mango_bmt_fixtures.js(593B)