(Since version 0.12.0) Use drop(Boolean)
(Since version 0.9) Deprecated because emptyCapped became an internal command, unavailable by default.
Inserts the document, or updates it if it already exists in the collection.
Inserts the document, or updates it if it already exists in the collection.
The document to save.
The write concern
(Since version Use update with upsert
set to true) 0.11.1
Inserts the document, or updates it if it already exists in the collection.
Inserts the document, or updates it if it already exists in the collection.
The document to save.
The write concern
(Since version Use update with upsert
set to true) 0.11.1
Inserts the document, or updates it if it already exists in the collection.
Inserts the document, or updates it if it already exists in the collection.
The document to save.
(Since version Use update with upsert
set to true) 0.11.1
(Since version 0.10) Consider using sibling
instead
A Collection that interacts with the Play JSON library, using
Reads
andWrites
.