Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @midwayjs/typegoose

References

ArrayProp

ArrayProp:

Configuration

Configuration:

DefaultConfig

DefaultConfig:

DocumentType

DocumentType:

Index

Index:

LogLevels

LogLevels:

MapProp

MapProp:

ModelOptions

ModelOptions:

MongooseService

MongooseService:

Plugins

Plugins:

Post

Post:

Pre

Pre:

Prop

Prop:

QueryMethod

QueryMethod:

Ref

Ref:

ReturnModelType

ReturnModelType:

Severity

Severity:

addModelToTypegoose

addModelToTypegoose:

arrayProp

arrayProp:

buildSchema

buildSchema:

defaultClasses

defaultClasses:

deleteModel

deleteModel:

deleteModelWithClass

deleteModelWithClass:

errors

errors:

getClass

getClass:

getClassForDocument

getClassForDocument:

getDiscriminatorModelForClass

getDiscriminatorModelForClass:

getModelForClass

getModelForClass:

getModelWithString

getModelWithString:

getName

getName:

index

index:

isDocument

isDocument:

isDocumentArray

isDocumentArray:

isModel

isModel:

isRefType

isRefType:

isRefTypeArray

isRefTypeArray:

mapProp

mapProp:

modelOptions

modelOptions:

mongoose

mongoose:

plugin

plugin:

post

post:

pre

pre:

prop

prop:

queryMethod

queryMethod:

setGlobalOptions

setGlobalOptions:

setLogLevel

setLogLevel:

types

types:

Type aliases

DefaultConfig

DefaultConfig: object

Type declaration

  • options: mongoose.ConnectionOptions
  • uri: string

Object literals

Const mongoose

mongoose: object

uri

uri: string = "mongodb://localhost:27017/"

options

options: object

dbName

dbName: string = "test"

useNewUrlParser

useNewUrlParser: boolean = true

useUnifiedTopology

useUnifiedTopology: boolean = true

Generated using TypeDoc