Preparing search index...
The search index is not available
mongodb
mongodb
OptionalId
Type Alias OptionalId<TSchema>
Optional
Id
<
TSchema
>
:
EnhancedOmit
<
TSchema
,
"_id"
>
&
{
_id
?:
InferIdType
<
TSchema
>
;
}
Add an optional _id field to an object shaped type
向对象形状类型添加可选
_id
字段
Type Parameters
TSchema
Settings
Member Visibility
Protected
Inherited
External
Alpha
Beta
Theme
OS
Light
Dark
mongodb
Loading...
Add an optional _id field to an object shaped type向对象形状类型添加可选_id字段