Skip to content

Commit 94939cd

Browse files
committed
fix insertMany overload
was faulty before
1 parent f691eb1 commit 94939cd

File tree

1 file changed

+1
-1
lines changed
  • source/mongoschema

1 file changed

+1
-1
lines changed

source/mongoschema/db.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ mixin template MongoSchema()
609609
}
610610

611611
/// Inserts many documents at once. The resulting IDs of the symbols will be generated by the server and not known to the caller.
612-
static void insertMany(T)(T documents, InsertFlags options = InsertFlags.none)
612+
static void insertMany(T)(T documents, InsertManyOptions options = InsertManyOptions.init)
613613
if (isInputRange!T && is(ElementType!T : typeof(this)))
614614
{
615615
import std.array : array;

0 commit comments

Comments
 (0)