Skip to content

Commit

Permalink
fix insertMany overload
Browse files Browse the repository at this point in the history
was faulty before
  • Loading branch information
WebFreak001 committed Apr 2, 2024
1 parent f691eb1 commit 94939cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/mongoschema/db.d
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94939cd

Please sign in to comment.