MongoDB\Driver\TopologyDescription::getType

(mongodb >=1.13.0)

MongoDB\Driver\TopologyDescription::getTypeReturns a string denoting the type of this topology

Description

final public MongoDB\Driver\TopologyDescription::getType(): string

Returns a string denoting the type of this topology. The value will correlate with a MongoDB\Driver\TopologyDescription constant.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Returns a string denoting the type of this topology.

Erreurs / Exceptions

  • Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.
add a note add a note

User Contributed Notes

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