Search
Preparing search index...
The search index is not available
mongorestorm-server
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"api/helpers/mongo-manager"
MongoManager
Class MongoManager
Hierarchy
MongoManager
Index
Constructors
constructor
Properties
client
mongo
Config
Methods
collection
get
Db
Constructors
constructor
new
Mongo
Manager
(
mongoConfig
:
MongoConfig
)
:
MongoManager
Parameters
mongoConfig:
MongoConfig
Returns
MongoManager
Properties
Private
client
client
:
MongoClient
Private
mongo
Config
mongo
Config
:
MongoConfig
Methods
collection
collection
(
collectionName
:
string
, model
?:
Model
)
:
MongoCollection
Parameters
collectionName:
string
Optional
model:
Model
Returns
MongoCollection
get
Db
get
Db
(
)
:
Promise
<
Db
>
Returns
Promise
<
Db
>
Globals
"api/helpers/mongo-
manager"
Mongo
Manager
constructor
client
mongo
Config
collection
get
Db
Mongo
Config
Generated using
TypeDoc