@36node/mongoose-helper
v0.4.9
Published
A module boilerplate for nodejs and web.
Downloads
206
Readme
mongoose-helper
mongoose-helper 提供标准的 mongoose 方法。
我们定义了:
mongoose-helper 的 list
方法中将会进一步将 QueryInService
转成成适合 mongoose 查询的语法。
Install
yarn add mongoose-helper
Usage
import helper from ("mongoose-helper");
// mongoose schema
schema.plugin(helper, options);
Query Standard
我们制定了一套前端的 query 语法标准。请参考:
Read the document of tpl-service.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
mongoose-helper © 36node, Released under the MIT License.
Authored and maintained by 36node with help from contributors (list).
github.com/zzswang · GitHub @36node