MongoDB\Driver\Session::getTransactionOptions

(mongodb >=1.7.0)

MongoDB\Driver\Session::getTransactionOptionsReturns options for the currently running transaction

Descripción

final public MongoDB\Driver\Session::getTransactionOptions(): ?array

Returns options for the currently running transaction.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns a array containing current transaction options, or null if no transaction is running.

Errores/Excepciones

Ver también

add a note add a note

User Contributed Notes

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