@36node/mongoose-helper
A module boilerplate for nodejs and web.
Last updated 2 months ago by zzswang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @36node/mongoose-helper 
SYNC missed versions from official npm registry.

mongoose-helper

version downloads

mongoose-helper 提供标准的 mongoose 方法。

我们定义了:

  1. 标准的 query in url 格式.
  2. 标准的 service 层 Query 数据格式.

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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

Current Tags

  • 0.4.6                                ...           latest (2 months ago)

24 Versions

  • 0.4.6                                ...           2 months ago
  • 0.4.5                                ...           2 months ago
  • 0.4.4                                ...           3 months ago
  • 0.4.3                                ...           3 months ago
  • 0.4.2                                ...           3 months ago
  • 0.4.1                                ...           3 months ago
  • 0.4.0                                ...           3 months ago
  • 0.2.9                                ...           a year ago
  • 0.2.8                                ...           a year ago
  • 0.2.6                                ...           a year ago
  • 0.2.4                                ...           a year ago
  • 0.2.3                                ...           a year ago
  • 0.2.2                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.1.9                                ...           2 years ago
  • 0.1.8                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 33
Last Day 0
Last Week 7
Last Month 24
Dependencies (3)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |