MongoDB\Driver\Session::getTransactionState

(mongodb >=1.7.0)

MongoDB\Driver\Session::getTransactionStateReturns the current transaction state for this session

Description

finalpublicMongoDB\Driver\Session::getTransactionState(): string

Returns the transaction state for this session.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Returns the current transaction state for this session.

Erreurs / Exceptions

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

Voir aussi

To Top