{"library":"p-odm","type":"library","category":null,"description":"Minimalistic ODM (Object Document Mapper) for MongoDB on Node.js. Version 3.1.18 wraps the node-mongodb-native driver with a simple model API including find, save, and remove operations. Requires Node >=0.4.12. It is a lightweight alternative to Mongoose with a focus on simplicity, error handling via callbacks, and common idioms. Designed for small projects or when a full-featured ODM is unnecessary.","language":"javascript","status":"maintenance","version":"3.1.18","tags":["javascript","mongodb","database","mongo","model","view"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install p-odm","imports":["var ODM = require('odm')","var User = ODM.model('users', {name: String, Birthday: Date})","ODM.connect('mongodb://localhost/test')"]},{"cmd":"yarn add p-odm","imports":[]},{"cmd":"pnpm add p-odm","imports":[]}],"homepage":"https://github.com/pmlopes/p-odm","github":"https://github.com/pmlopes/p-odm","docs":null,"changelog":null,"pypi":null,"npm":"p-odm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}