package mongoose
mongoose package object
- Alphabetic
- By Inheritance
- mongoose
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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
-
trait
AggregateCursor
[T] extends Object
Aggregation Cursor
Aggregation Cursor
- Annotations
- @RawJSType() @native()
-
type
ArrayFieldType = SchemaFieldType[Array[_]]
Schema Field Types *
- type BooleanFieldType = SchemaFieldType[Boolean]
- type BufferFieldType = SchemaFieldType[Buffer]
-
class
CastError
extends Object
The Mongoose CastError constructor
The Mongoose CastError constructor
- Annotations
- @RawJSType() @native() @JSImport( "mongoose" , "CastError" )
-
class
Collection
extends Object
Mongoose Collection
Mongoose Collection
- Annotations
- @RawJSType() @native() @JSImport( "mongoose" , "Collection" )
-
trait
Connectable
extends Object
Mongoose Connectable Object
Mongoose Connectable Object
- Annotations
- @RawJSType() @native()
-
trait
Connection
extends Object with IEventEmitter
Mongoose Connection
Mongoose Connection
- Annotations
- @RawJSType() @native()
- type DateFieldType = SchemaFieldType[|[Date, Double]]
-
class
Document
extends Object
Mongoose Document
Mongoose Document
- Annotations
- @RawJSType() @native() @JSImport( "mongoose" , "Document" )
-
trait
Exports
extends Object
Mongoose exports
Mongoose exports
- Annotations
- @RawJSType() @native()
-
class
Methods
extends Object
Methods
Methods
- Annotations
- @RawJSType() @native()
- type MixedFieldType = SchemaFieldType[Any]
-
type
Model[A] = A with CRUD[A]
Model with CRUD definition
-
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/
-
type
MongooseCallback[A] = Function2[MongooseError, A, Any]
Generic Mongoose callback w/error
-
implicit final
class
MongooseEnrichment
extends AnyVal
Mongoose Enrichment
-
type
MongooseError = MongoError
Mongoose Error
-
class
MongooseModel
[T] extends Object
Mongoose Model
Mongoose Model
- Annotations
- @RawJSType() @native()
-
type
MongooseModelArrayCallback[A] = Function2[MongooseError, Array[Model[A]], Any]
Mongoose callback w/error for enriched models
-
type
MongooseModelCallback[A] = Function2[MongooseError, Model[A], Any]
Mongoose callback w/error for enriched models
-
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()
- type NumberFieldType = SchemaFieldType[|[Double, Int]]
-
class
ObjectId
extends Object
Schema ObjectId
Schema ObjectId
- Annotations
- @RawJSType() @native() @JSImport( "mongoose" , "Schema.ObjectId" )
- type ObjectIdFieldType = SchemaFieldType[ObjectId]
-
class
PopulateOptions
extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
-
class
Query
[T] extends Object with QueryExecutable[T]
Mongoose Query
Mongoose Query
- Annotations
- @RawJSType() @native() @JSImport( "mongoose" , "Query" )
-
trait
QueryExecutable
[T] extends Object
Mongoose Query Executor
Mongoose Query Executor
- Annotations
- @RawJSType() @native()
-
trait
QueryOperator
[T] extends Object with QueryExecutable[T]
Mongoose Query Operator
Mongoose Query Operator
- Annotations
- @RawJSType() @native()
-
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
-
class
SchemaField
[A] extends Object
Schema Field Definition
Schema Field Definition
- Annotations
- @RawJSType() @ScalaJSDefined()
-
trait
SchemaFieldType
[+T] extends Object
Represents a schema field type
Represents a schema field type
- Annotations
- @RawJSType() @native()
-
trait
SchemaProperty
extends Object
Schema Property
Schema Property
- Annotations
- @RawJSType() @native()
- type StringFieldType = SchemaFieldType[String]
Value Members
-
object
Mongoose
extends Object with Connectable
Mongoose Singleton
Mongoose Singleton
- Annotations
- @native() @JSImport( "mongoose" , JSImport.Namespace )
-
object
MongooseModel
Mongoose Model Singleton
-
object
Schema
Schema Singleton
-
object
SchemaField
Schema Field Singleton
-
object
exports
extends Object with Exports
- Annotations
- @native() @JSName( "exports" )