


Notable exception that llection still buffersĬommands. However, using the collection object directly bypasses all mongoose features, including hooks, validation, etc. The collection object can be accessed using llection. Each mongoose model keeps a reference to a native MongoDB driver collection. Mongoose is built on top of the official MongoDB Node.js driver. Your changes in docs/*.pug, lib/*.js, or test/docs/*.js. html files are compiled code, so please make If your pull requests makes documentation changes, please do not Pull requests are always welcome! Please base pull requests against the masterīranch and follow the contributing guide. Next, learn how to write your own plugin from the docs or this blog post. SupportĬheck out the plugins search site to see hundreds of related modules from the community. You can find more details on backwards breaking changes in 7.0.0 on our docs site. Mongoose 7.0.0 was released on February 27, 2023.

Mongoose supports Node.js and Deno (alpha). IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: LicenseĬopyright (c) 2016 - 2018 Romain Lenzotti Your logo will show up here with a link to your website. Support this project by becoming a sponsor.
