diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
insertSingle
diamond
database
mongo
operations
Inserts a single document.
static if
(
isWeb
)
void
insertSingle
(
T
)
(
string
collection
,
T
document
)
Parameters
collection
string
The mongo db collection.
document
T
The document to insert.
Meta
Source
See Implementation
diamond
database
mongo
operations
functions
findMany
findSingle
insertMany
insertSingle
remove
update
Inserts a single document.