p

io.scalajs.npm

mongoose

package mongoose

mongoose package object

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. mongoose
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Aggregate [T] extends Object with QueryExecutable[T]

    Mongoose Aggregate

    Mongoose Aggregate

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "Aggregate" )
    See also

    http://mongoosejs.com/docs/api.html#aggregate_Aggregate

  2. trait AggregateCursor [T] extends Object

    Aggregation Cursor

    Aggregation Cursor

    Annotations
    @RawJSType() @native()
  3. type ArrayFieldType = SchemaFieldType[Array[_]]

    Schema Field Types *

  4. type BooleanFieldType = SchemaFieldType[Boolean]
  5. type BufferFieldType = SchemaFieldType[Buffer]
  6. class CastError extends Object

    The Mongoose CastError constructor

    The Mongoose CastError constructor

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "CastError" )
  7. class Collection extends Object

    Mongoose Collection

    Mongoose Collection

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "Collection" )
  8. trait Connectable extends Object

    Mongoose Connectable Object

    Mongoose Connectable Object

    Annotations
    @RawJSType() @native()
  9. trait Connection extends Object with IEventEmitter

    Mongoose Connection

    Mongoose Connection

    Annotations
    @RawJSType() @native()
  10. type DateFieldType = SchemaFieldType[|[Date, Double]]
  11. class Document extends Object

    Mongoose Document

    Mongoose Document

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "Document" )
  12. trait Exports extends Object

    Mongoose exports

    Mongoose exports

    Annotations
    @RawJSType() @native()
  13. class Methods extends Object

    Methods

    Methods

    Annotations
    @RawJSType() @native()
  14. type MixedFieldType = SchemaFieldType[Any]
  15. type Model[A] = A with CRUD[A]

    Model with CRUD definition

  16. class Mongoose extends Object

    Mongoose provides a straight-forward, schema-based solution to model your application data.

    Mongoose provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box.

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "Mongoose" )
    See also

    http://mongoosejs.com/

  17. type MongooseCallback[A] = Function2[MongooseError, A, Any]

    Generic Mongoose callback w/error

  18. implicit final class MongooseEnrichment extends AnyVal

    Mongoose Enrichment

  19. type MongooseError = MongoError

    Mongoose Error

  20. class MongooseModel [T] extends Object

    Mongoose Model

    Mongoose Model

    Annotations
    @RawJSType() @native()
  21. type MongooseModelArrayCallback[A] = Function2[MongooseError, Array[Model[A]], Any]

    Mongoose callback w/error for enriched models

  22. type MongooseModelCallback[A] = Function2[MongooseError, Model[A], Any]

    Mongoose callback w/error for enriched models

  23. trait MongooseThenable [A] extends Object

    A Promise-like object supporting "then(result => A)" construct

    A Promise-like object supporting "then(result => A)" construct

    Annotations
    @RawJSType() @native()
  24. type NumberFieldType = SchemaFieldType[|[Double, Int]]
  25. class ObjectId extends Object

    Schema ObjectId

    Schema ObjectId

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "Schema.ObjectId" )
  26. type ObjectIdFieldType = SchemaFieldType[ObjectId]
  27. class PopulateOptions extends Object

    Annotations
    @RawJSType() @ScalaJSDefined()
  28. class Query [T] extends Object with QueryExecutable[T]

    Mongoose Query

    Mongoose Query

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "Query" )
  29. trait QueryExecutable [T] extends Object

    Mongoose Query Executor

    Mongoose Query Executor

    Annotations
    @RawJSType() @native()
  30. trait QueryOperator [T] extends Object with QueryExecutable[T]

    Mongoose Query Operator

    Mongoose Query Operator

    Annotations
    @RawJSType() @native()
  31. class Schema [T] extends Object

    Everything in Mongoose starts with a Schema.

    Everything in Mongoose starts with a Schema. Each schema maps to a MongoDB collection and defines the shape of the documents within that collection.

    Annotations
    @RawJSType() @native() @JSImport( "mongoose" , "Schema" )
    See also

    http://mongoosejs.com/docs/api.html

  32. class SchemaField [A] extends Object

    Schema Field Definition

    Schema Field Definition

    Annotations
    @RawJSType() @ScalaJSDefined()
  33. trait SchemaFieldType [+T] extends Object

    Represents a schema field type

    Represents a schema field type

    Annotations
    @RawJSType() @native()
  34. trait SchemaProperty extends Object

    Schema Property

    Schema Property

    Annotations
    @RawJSType() @native()
  35. type StringFieldType = SchemaFieldType[String]

Value Members

  1. object Mongoose extends Object with Connectable

    Mongoose Singleton

    Mongoose Singleton

    Annotations
    @native() @JSImport( "mongoose" , JSImport.Namespace )
  2. object MongooseModel

    Mongoose Model Singleton

  3. object Schema

    Schema Singleton

  4. object SchemaField

    Schema Field Singleton

  5. object exports extends Object with Exports
    Annotations
    @native() @JSName( "exports" )

Inherited from AnyRef

Inherited from Any

Ungrouped