Trait/Object

io.scalajs.npm.mongodb.gridfs

GridStoreClass

Related Docs: object GridStoreClass | package gridfs

Permalink

trait GridStoreClass extends Object

Grid Store Class

Annotations
@RawJSType() @native()
See also

https://mongodb.github.io/node-mongodb-native/api-generated/gridstore.html
Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridStoreClass
  2. Object
  3. Any
  4. AnyRef
  5. 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

  5. val DEFAULT_CONTENT_TYPE: String

    Permalink

    Default file mime type

  6. val DEFAULT_ROOT_COLLECTION: String

    Permalink

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

  7. val IO_SEEK_CUR: Int

    Permalink

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

  8. val IO_SEEK_END: Int

    Permalink

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

  9. val IO_SEEK_SET: Int

    Permalink

    Seek mode where the given length is absolute.

  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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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 Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped