From 94939cdde96e09e1ca632ff272b2c6c38e8f78f4 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Tue, 2 Apr 2024 13:19:41 +0200 Subject: [PATCH] fix insertMany overload was faulty before --- source/mongoschema/db.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mongoschema/db.d b/source/mongoschema/db.d index 4adaff1..41077b3 100644 --- a/source/mongoschema/db.d +++ b/source/mongoschema/db.d @@ -609,7 +609,7 @@ mixin template MongoSchema() } /// Inserts many documents at once. The resulting IDs of the symbols will be generated by the server and not known to the caller. - static void insertMany(T)(T documents, InsertFlags options = InsertFlags.none) + static void insertMany(T)(T documents, InsertManyOptions options = InsertManyOptions.init) if (isInputRange!T && is(ElementType!T : typeof(this))) { import std.array : array;