MongoDB\Driver\TopologyDescription::hasWritableServer

(mongodb >=1.13.0)

MongoDB\Driver\TopologyDescription::hasWritableServerReturns whether the topology has a writable server

Description

final public MongoDB\Driver\TopologyDescription::hasWritableServer(): bool

Returns whether the topology has a writable server.

Parameters

This function has no parameters.

Return Values

Returns whether the topology has a writable server.

Errors/Exceptions

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top