PHP Conference Kansai 2025

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 int 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 int que representa el tipo del servidor.

Errores/Excepciones

Ver también

add a note

User Contributed Notes

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