phpday 2027 - Call for Papers

MongoDB\Driver\Session::getTransactionOptions

(mongodb >=1.7.0)

MongoDB\Driver\Session::getTransactionOptions — Returns options for the currently running transaction

Description

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

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top