Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InsertOneResult<TSchema>

Type parameters

Hierarchy继承层级

  • InsertOneResult

Index索引

Properties属性

Properties属性

acknowledged: boolean

Indicates whether this write result was acknowledged. If not, then all other members of this result will be undefined指示此写入结果是否已确认。如果不是,则此结果的所有其他成员都将未定义

insertedId: InferIdType<TSchema>

The identifier that was inserted. 插入的标识符。If the server generated the identifier, this value will be null as the driver does not have access to that data如果服务器生成了标识符,则该值将为空,因为驱动程序无权访问该数据

Generated using TypeDoc