Nested Public Modules

    resolve-readmodel-mongo

    0.23.2 • Public • Published

    resolve-readmodel-mongo

    npm version

    A Read Model Adapter for MongoDB 4.0+. The adapter provides a query API for projection and resolvers. This API is similar to the other reSolve adapters API, which means you can change a Read Model Adapter in the configuration file without changing the code.

    Available Parameters

    Adapter interface is provided by resolve-readmodel-base package.

    Usage

    import createAdapter from 'resolve-readmodel-mongo'
     
    const adapter = createAdapter({
      url: 'mongodb://localhost:27017/DatabaseName',
      ...connectionSettings
    })

    Analytics

    Install

    npm i resolve-readmodel-mongo

    DownloadsWeekly Downloads

    33

    Version

    0.23.2

    License

    MIT

    Unpacked Size

    166 kB

    Total Files

    78

    Last publish

    Collaborators

    • resolve-admin
    • reimagined-admin
    • vladihost
    • lykoi18