Search
Preparing search index...
The search index is not available
mongodb
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mongodb
MongoDBNamespace
Class MongoDBNamespace
Hierarchy
MongoDBNamespace
Index
Constructors
constructor
Properties
collection
db
Methods
to
String
with
Collection
from
String
Constructors
constructor
new
MongoDBNamespace
(
db
:
string
, collection
?:
string
)
:
MongoDBNamespace
Create a namespace object
Parameters
db:
string
database name
Optional
collection:
string
collection name
Returns
MongoDBNamespace
Properties
Optional
collection
collection
?:
string
db
db
:
string
Methods
to
String
to
String
(
)
:
string
Returns
string
with
Collection
with
Collection
(
collection
:
string
)
:
MongoDBNamespace
Parameters
collection:
string
Returns
MongoDBNamespace
Static
from
String
from
String
(
namespace
?:
string
)
:
MongoDBNamespace
Parameters
Optional
namespace:
string
Returns
MongoDBNamespace
Exports
MongoDBNamespace
constructor
collection
db
to
String
with
Collection
from
String
Generated using
TypeDoc
Create a namespace object