Object/Class

io.scalajs.npm.mongodb.gridfs

GridStore

Related Docs: class GridStore | package gridfs

Permalink

object GridStore extends Object with GridStoreClass

Grid Store Companion

Annotations
@native() @JSName( "GridStore" )
Linear Supertypes
GridStoreClass, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridStore
  2. GridStoreClass
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DEFAULT_CHUNK_SIZE: Int

    Permalink

    TODO document this property

    TODO document this property

    Definition Classes
    GridStoreClass
  5. val DEFAULT_CONTENT_TYPE: String

    Permalink

    Default file mime type

    Default file mime type

    Definition Classes
    GridStoreClass
  6. val DEFAULT_ROOT_COLLECTION: String

    Permalink

    The collection to be used for holding the files and chunks collection.

    The collection to be used for holding the files and chunks collection.

    Definition Classes
    GridStoreClass
  7. val IO_SEEK_CUR: Int

    Permalink

    Seek mode where the given length is an offset to the current read/write head.

    Seek mode where the given length is an offset to the current read/write head.

    Definition Classes
    GridStoreClass
  8. val IO_SEEK_END: Int

    Permalink

    Seek mode where the given length is an offset to the end of the file.

    Seek mode where the given length is an offset to the end of the file.

    Definition Classes
    GridStoreClass
  9. val IO_SEEK_SET: Int

    Permalink

    Seek mode where the given length is absolute.

    Seek mode where the given length is absolute.

    Definition Classes
    GridStoreClass
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def exist(db: Db, name: String, callback: Function): Unit

    Permalink

    Checks if a file exists in the database.

    Checks if a file exists in the database.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.exist(db, name[, rootCollection], callback)

  15. def exist(db: Db, name: String, rootCollection: String, callback: Function): Unit

    Permalink

    Checks if a file exists in the database.

    Checks if a file exists in the database.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.exist(db, name[, rootCollection], callback)

  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  22. def list(db: Db, callback: Function): Unit

    Permalink

    Gets the list of files stored in the GridFS.

    Gets the list of files stored in the GridFS.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.list(db[, rootCollection], callback)

  23. def list(db: Db, rootCollection: String, callback: Function): Unit

    Permalink

    Gets the list of files stored in the GridFS.

    Gets the list of files stored in the GridFS.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.list(db[, rootCollection], callback)

  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  28. def read(db: Db, name: String, length: Int, offset: Int, options: GridStoreOptions, callback: Function): Unit

    Permalink

    Reads the contents of a file.

    Reads the contents of a file.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  29. def read(db: Db, name: String, length: Int, offset: Int, callback: Function): Unit

    Permalink

    Reads the contents of a file.

    Reads the contents of a file.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  30. def read(db: Db, name: String, length: Int, callback: Function): Unit

    Permalink

    Reads the contents of a file.

    Reads the contents of a file.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  31. def read(db: Db, name: String, callback: Function): Unit

    Permalink

    Reads the contents of a file.

    Reads the contents of a file.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  32. def readlines(db: Db, name: String, separator: String, options: GridStoreOptions, callback: Function): Unit

    Permalink

    Reads the data of this file.

    Reads the data of this file.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.readlines(db, name[, separator][, options], callback)

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def unlink(db: Db, names: String): Unit

    Permalink

    Deletes the chunks and metadata information of a file from GridFS.

    Deletes the chunks and metadata information of a file from GridFS.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.unlink(db, names[, options])

  37. def unlink(db: Db, names: String, options: GridStoreOptions): Unit

    Permalink

    Deletes the chunks and metadata information of a file from GridFS.

    Deletes the chunks and metadata information of a file from GridFS.

    Definition Classes
    GridStoreClass
    Example:
    1. GridStore.unlink(db, names[, options])

  38. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GridStoreClass

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped