Returns the current MongoConnection instance (the connection pool manager).
Returns the default database (as specified in application.conf
).
Returns the current instance of the driver.
Gets a body parser that will save a file sent with multipart/form-data into the given GridFS store.
Gets a body parser that will save a file sent with multipart/form-data into the given GridFS store.
Returns a future Result that serves the first matched file, or NotFound.
(mongoController: StringAdd).self
(mongoController: StringFormat).self
(Since version 0.12.0) Use database
(mongoController: ArrowAssoc[MongoController]).x
(Since version 2.10.0) Use leftOfArrow
instead
(mongoController: Ensuring[MongoController]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A mixin for controllers that will provide MongoDB actions.