Preparing search index...
The search index is not available
@storehouse/mongoose - v3.1.1
@storehouse/mongoose
MongooseManager
Class MongooseManager
Implements
IManager
Index
Constructors
constructor
Properties
name
type
Methods
close
Connection
connect
get
Connection
get
Model
to
Object
Id
Constructors
constructor
new
Mongoose
Manager
(
settings
)
:
MongooseManager
Parameters
settings
:
MongooseManagerArg
<
{}
,
any
,
{}
,
{}
,
{}
,
{}
,
{}
>
Returns
MongooseManager
Properties
Protected
name
name
:
string
Static
Readonly
type
type
:
"@storehouse/mongoose"
= '@storehouse/mongoose'
Methods
close
Connection
close
Connection
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
connect
connect
(
)
:
Promise
<
Connection
>
Returns
Promise
<
Connection
>
get
Connection
get
Connection
(
)
:
Connection
Returns
Connection
get
Model
get
Model
<
T
,
TModel
,
TQueryHelpers
>
(
name
)
:
TModel
&
WithAggregationMethod
Type Parameters
T
=
{}
TModel
extends
Model
<
T
,
{}
,
{}
,
{}
,
IfAny
<
T
,
any
,
Document
<
unknown
,
{}
,
T
>
&
Require_id
<
T
>
>
,
any
>
=
Model
<
T
,
{}
,
{}
,
{}
,
IfAny
<
T
,
any
,
Document
<
unknown
,
{}
,
T
>
&
Require_id
<
T
>
>
,
any
>
TQueryHelpers
=
unknown
Parameters
name
:
string
Returns
TModel
&
WithAggregationMethod
to
Object
Id
to
Object
Id
(
value
?
)
:
undefined
|
ObjectId
Parameters
Optional
value
:
|
string
|
number
|
ObjectId
|
Buffer
|
ObjectIdLike
Returns
undefined
|
ObjectId
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
type
Methods
close
Connection
connect
get
Connection
get
Model
to
Object
Id
@storehouse/mongoose - v3.1.1
Loading...