(No hay información de versión disponible, podría estar únicamente en SVN)
MongoDB\Driver\Manager::selectServer — Preselect MongoDB node
$readPreference
)
Preselect a MongoDB node based on provided readPreference. This can be useful to gurantee a command runs on a specific server when operating in a mixed version cluster.
readPreferenceOpcionalmente, un MongoDB\Driver\ReadPreference a donde redireccionar el comando. Si no se proporciona, se empleará el valor de la Preferencia de lectura establcecida por el URI de conexión de MongoDB.
Returns an instance of MongoDB\Driver\Server ready for action.