Skip to content

ngnjs/ngnx-data-proxy-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGNX.DATA.MongoDBProxy

npm i ngnx-data-proxy-mongodb

require('ngnx-data-proxy-mongodb')

const Person = new NGN.DATA.Model({
  fields: {
    firstname: null,
    lastname: null
  },

  proxy: new NGNX.DATA.MongoDBProxy({
    host: 'host.com:12345',
    database: 'people_db',
    username: 'user',
    password: 'password'
  })
})

The MongoDB proxy is used to perform CRUD operations from an NGN.DATA.Store and/or NGN.DATA.Model.

About

A MongoDB adapter for the NGN.DATA package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published