Preparing search index...
The search index is not available
biorate
biorate
mongodb
model
Function model
model
<
T
>
(
Model
,
connection
?
,
options
?
)
:
(
(
proto
,
key
)
=>
void
)
Type Parameters
T
=
unknown
Parameters
Model
:
(
new
(
...
args
)
=>
T
)
new
(
...
args
)
:
T
Parameters
Rest
...
args
:
any
Returns
T
Optional
connection
:
string
options
:
ICustomOptions
= {}
Returns
(
(
proto
,
key
)
=>
void
)
(
proto
,
key
)
:
void
Parameters
proto
:
any
key
:
string
Returns
void
Description
Model injection decorator
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
biorate
Loading...
Description
Model injection decorator