diff --git a/docs/content/2.api/1.utils.md b/docs/content/2.api/1.utils.md index c7dad69..0ae47dd 100644 --- a/docs/content/2.api/1.utils.md +++ b/docs/content/2.api/1.utils.md @@ -54,7 +54,12 @@ This function creates a new Mongoose model with schema. Example usage: | `hooks` | [`(schema: Schema) => void`](https://mongoosejs.com/docs/middleware.html) | false | Schema Hooks Function to customize Model | - +::alert +you can access the default connection with importing it from mongoose: +:: +``` +import { connection } from 'mongoose' +``` ## `defineMongooseConnection` This function creates a new Mongoose connection.