c

io.scalajs.npm.mongodb

IndexOptions

class IndexOptions extends Object

Index Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexOptions(w: Any = null, wtimeout: Integer = null, j: Boolean = false, unique: Boolean = false, sparse: Boolean = false, background: Boolean = false, dropDups: Boolean = false, min: Integer = null, max: Integer = null, v: Integer = null, expireAfterSeconds: Integer = null, name: Integer = null)

    w

    The write concern (number | string; default: null).

    wtimeout

    The write concern timeout (default: null).

    j

    Specify a journal write concern (default: false).

    unique

    Creates an unique index (default: false).

    sparse

    Creates a sparse index (default: false).

    background

    Creates the index in the background, yielding whenever possible (default: false).

    dropDups

    A unique index cannot be created on a key that has pre-existing duplicate values. If you would like to create the index anyway keeping the first document the database indexes and deleting all subsequent documents that have duplicate value (default: false).

    min

    For geospatial indexes set the lower bound for the co-ordinates (default: null).

    max

    For geospatial indexes set the high bound for the co-ordinates (default: null).

    v

    Specify the format version of the indexes (default: null).

    expireAfterSeconds

    Allows you to expire data on indexes applied to a data (MongoDB 2.2 or higher) (default: null).

    name

    Override the auto-generated index name (useful if the resulting name is larger than 128 bytes) (default: null)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. var background: Boolean
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var dropDups: Boolean
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. var expireAfterSeconds: Integer
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  17. var j: Boolean
  18. var max: Integer
  19. var min: Integer
  20. var name: Integer
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  25. var sparse: Boolean
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toLocaleString(): String
    Definition Classes
    Object
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. var unique: Boolean
  30. var v: Integer
  31. def valueOf(): Any
    Definition Classes
    Object
  32. var w: Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. var wtimeout: Integer

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped