The PHP Online Conference 2021

MongoDB\Driver\Session::getTransactionOptions

(mongodb >=1.7.0)

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

Description

final public MongoDB\Driver\Session::getTransactionOptions ( void ) : array|null

Returns options for the currently running transaction.

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

See Also

add a note add a note

User Contributed Notes

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