monorepo/services/util/mongoose.options.ts
2021-04-01 19:58:41 +02:00

9 lines
189 B
TypeScript

import { ConnectOptions } from 'mongoose'
export const mongooseOptions: ConnectOptions = {
useUnifiedTopology: true,
useCreateIndex: true,
useNewUrlParser: true,
autoIndex: true
}