Nasal Pathway Melodrama

    @36node/mongoose-helper
    TypeScript icon, indicating that this package has built-in type declarations

    0.4.9 • Public • Published

    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

    Keywords

    none

    Install

    npm i @36node/mongoose-helper

    DownloadsWeekly Downloads

    41

    Version

    0.4.9

    License

    MIT

    Unpacked Size

    28.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • lidongbest5
    • zzswang
    • hauy
    • 36node-robot