API 参考
正在准备搜索索引...
@142vip/nest-typeorm
MongoDBNamespace
类 MongoDBNamespace
索引
构造函数
constructor
属性
collection
db
方法
to
String
with
Collection
from
String
构造函数
constructor
new
MongoDBNamespace
(
db
:
string
,
collection
?:
string
)
:
MongoDBNamespace
Create a namespace object
参数
db
:
string
database name
可选
collection
:
string
collection name
返回
MongoDBNamespace
属性
collection
collection
:
undefined
|
string
db
db
:
string
方法
to
String
toString
()
:
string
返回
string
with
Collection
withCollection
(
collection
:
string
)
:
MongoDBNamespace
参数
collection
:
string
返回
MongoDBNamespace
静态
from
String
fromString
(
namespace
?:
string
)
:
MongoDBNamespace
参数
可选
namespace
:
string
返回
MongoDBNamespace
显示设置
成员可见性
受保护
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
collection
db
方法
to
String
with
Collection
from
String
API 参考
加载中……
Create a namespace object