|
MongoDB\Driver\WriteResult::getServerReturns the server associated with this write result Description
final public MongoDB\Driver\Server MongoDB\Driver\WriteResult::getServer()
Returns the MongoDB\Driver\Server associated with this write result. This is the server that executed the MongoDB\Driver\BulkWrite. ParametersThis function has no parameters. Return ValuesReturns the MongoDB\Driver\Server associated with this write result. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteResult::getServer example
The above example will output: bool(true) See Also
|