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.
Returns a future Result that serves the first matched file, or NotFound.
(Since version 3.0.0) Use TOO_MANY_REQUESTS instead
(Since version 3.0.0) Use TooManyRequests instead
(Since version 0.12.0) Use database
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.
(Since version 0.12.0) Use gridFSBodyParser
with Future[GridFS]
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.
(Since version 0.12.0) Use gridFSBodyParser
with Future[GridFS]
A mixin for controllers that will provide MongoDB actions.