Docs Menu
Docs Home
/ / /
PHP Library Manual
/ /

MongoDB\InsertOneResult Class

MongoDB\InsertOneResult

This class contains information about an executed insert operation. It encapsulates a MongoDB\Driver\WriteResult object and is returned from MongoDB\Collection::insertOne().

← MongoDB\InsertManyResult::isAcknowledged()