Packages

object GridFSBucket extends Serializable

A factory for GridFSBucket instances.

Since

1.2

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridFSBucket
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(database: MongoDatabase, bucketName: String): GridFSBucket

    Create a new GridFS bucket with a custom bucket name

    Create a new GridFS bucket with a custom bucket name

    database

    the database instance to use with GridFS

    bucketName

    the custom bucket name to use

    returns

    the GridFSBucket

  2. def apply(database: MongoDatabase): GridFSBucket

    Create a new GridFS bucket with the default 'fs' bucket name

    Create a new GridFS bucket with the default 'fs' bucket name

    database

    the database instance to use with GridFS

    returns

    the GridFSBucket