unordered bulk insert

This commit is contained in:
Alex Holliday committed 2025-05-16 14:08:45 -07:00
1 parent 79abb0fd84
commit b471c49cbf
4 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ const createCheck = async (checkData) => {
const createChecks = async (checks) => {
try {
await Check.insertMany(checks);
await Check.insertMany(checks, { ordered: false });
} catch (error) {
error.service = SERVICE_NAME;
error.method = "createCheck";