0.4.9 • Published 3 years ago

@36node/mongoose-helper v0.4.9

Weekly downloads
53
License
MIT
Repository
github
Last release
3 years ago

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

0.4.9

3 years ago

0.4.8

3 years ago

0.4.7

3 years ago

0.4.6

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.1

4 years ago

0.4.2

4 years ago

0.4.0

4 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.6

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago