MongoDB\Driver\Server::getType

(mongodb >=1.0.0)

MongoDB\Driver\Server::getTypeDevuelve un integer que representa el tipo del servidor

Descripción

final public MongoDB\Driver\Server::getType(): int

Devuelve un entier que representa el tipo del servidor. El valor corresponderá a una constante MongoDB\Driver\Server.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Devuelve un entier que representa el tipo del servidor.

Errores/Excepciones

Ver también