mongo ~master (2018-04-13T19:25:57Z)
Dub
Repo
Collection.insert
mongo
Collection
If toInsert is a range, then bulk inserts are used.
struct
Collection
auto
insert
(
T1
T2
=
BSON
)
(
ref
T1
toInsert
,
T2
options
=
empty
!
T2
()
,
BSON
reply
=
empty
()
)
Meta
Source
See Implementation
mongo
Collection
constructors
this
functions
count
deleteOne
drop
find
findAndModify
findOne
insert
insertMany
processMongoDocUDAs
unlock
update
variables
collection
If toInsert is a range, then bulk inserts are used.