I want to do bulk insert with array of json objects. I believe there is support for bulk insert with mongoose. How to do the bulk insert with typegoose?
Here is my current model's options:
const JobModel = new Job().getModelForClass(Job, {
schemaOptions: {
id: false,
versionKey: false,
timestamps: { createdAt: 'createdAt', updatedAt: 'updatedAt' },
},
});